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.
To delete a buffer safely use the command
Tried with: Vim and Ubuntu 14.04