vimtricks.wiki Concise Vim tricks, one at a time.

How do you delete a specific buffer by its number?

Answer

:bd 3

Explanation

Use :bd (bdelete) followed by the buffer number. :bd 3 removes buffer 3 from the buffer list without closing Vim.

Next

How do I visually select a double-quoted string including the quotes themselves?