Vim’s multilayered views (Windows, Buffers and Tabs) left me a little confused. Let’s say I split the display (:sp) and then select a different buffer to display in each window. Now I want to close one of the buffers, yet I don’t want the window to close (After the closing it can display the next buffer on the list or an empty buffer, it doesn’t matter). How can I do this?
Vim’s multilayered views (Windows, Buffers and Tabs) left me a little confused. Let’s say
Share
There’s a script on the Vim wiki to do this. I don’t think there is a builtin that does what you want.
The latest version of vim-bufkill is on github.