Skip to content

thekelvinliu/kwbd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

kwbd

keep window buffer delete

install

any package manager should do. i use vim-plug.

call plug#begin()
Plug 'thekelvinliu/kwbd'
call plug#end()

usage info

this plugin assumes set hidden. currently, modified buffers will be closed without confirmation.

it can be invoked either via ex command:

:KWBD

or a plug mapping:

nmap <leader>a <plug>(kwbd)

about

use this if you don't want a buffer's containing window to close when it is deleted. there are already tons of scripts out there do this, and this is mine. based on this vim tips wiki article.