📅 2014-May-06 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ buffer, vim, vim-bbye ⬩ 📚 Archive
If you use Vim to work on source code files, you end up opening multiple buffers. The command to delete an open buffer in Vim is :bdelete
. This removes the buffer, but it also removes the window holding that buffer.
The vim-bbye plugin can be used to safely delete a buffer, without removing the window holding it.
You can get the source code of the plugin here and it can easily be installed using Pathogen.
To delete a buffer safely use the command :Bdelete
Tried with: Vim and Ubuntu 14.04