sat
sat

Reputation: 14949

How to remove the specific file buffer from vim?

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

Answers (1)

Chriseyre2000
Chriseyre2000

Reputation: 2053

:bdelete f1.txt

see http://vim.wikia.com/wiki/Vim_buffer_FAQ for details

Upvotes: 4

Related Questions