3 ms·
He also says: It only goes away when you explicitly delete it with a call to :quit or :bdelete. This isn't true. :bdelete makes the buffer an unlisted-buff
by m0shen 14y ago
He also says:
It only goes away when you explicitly delete it with a call to :quit or :bdelete.
This isn't true. :bdelete makes the buffer an unlisted-buffer. :bwipeout actually removes the buffer completely.
http://vim.wikia.com/wiki/Vim_buffer_FAQ http://vim.wikia.com/wiki/Vim_buffer_FAQ
- tyrmored 14y agoThanks for that; I clarified and gave you a footnote.
- m0shen 14y agoNp, it took me an embarrassingly long amount of time to grok Vims handling of Buffers, Tabs and Windows. I think your article is a nice introductory writeup on the subject. I wish I had it when I first started with Vim. Also, as far as buffer handling goes, I really like the SelectBuf ( http://www.vim.org/scripts/script.php?script_id=107 http://www.vim.org/scripts/script.php?script_id=107 ) plugin for listing and sorting open buffers ( including unlisted! ). CtrlP ( http://kien.github.com/ctrlp.vim/ http://kien.github.com/ctrlp.vim/ ) works well for searching them.