Skip to content

bronson/vim-closebuffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

This allows you to close a buffer in Vim without affecting the window
it's in.  Normally when you close a buffer, its window closes too,
forcing you to re-layout all your windows.

If you hit ^W^E, the buffer closes and your windows remain untouched.

Slightly modified from http://vim.wikia.com/wiki/Deleting_a_buffer_without_closing_the_window


TODO: just discovered http://www.vim.org/scripts/script.php?script_id=2103
which appears to be even better?
There also appears to be http://www.vim.org/scripts/script.php?script_id=1147
but it looks more complex than necessary?


Homepage: http://github.com/bronson/vim-closebuffer