Reputation: 14949
I opened the files using :e or gf(Esc mode) commands in vim. when I use :ls ,It list the all the opened file buffers. How to remove the specific file buffer from vim?
Upvotes: 2
Views: 689
Reputation: 2053
:bdelete f1.txt
see http://vim.wikia.com/wiki/Vim_buffer_FAQ for details
Upvotes: 4