A Vim variable (bno) contains a buffer number. How do I use this
variable to open the corresponding buffer? The :buffer command will not accept a variable name. It accepts only a buffer number or buffer name. You have to use the “:execute” command to evaluate the variable into the corresponding value. For example:
:execute "buffer " . bno
Comments (1)
Pepsh Pepshinsky
Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE