When I use the command “:%bd” to delete all the buffers, not all the buffers are deleted. Why?

In the “:%bd” command, the ‘%’ range will be replaced with the starting and ending line numbers in the current buffer. Instead of using ‘%’ as the range, you should specify numbers for the range. For example, to delete all the buffers, you can use the command “:1,9999bd”.

Comments (1)


Pepsh Pepshinsky

Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE


Speak Your Mind