thekelvinliu / kwbd

keep window buffer delete

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

keep window buffer delete

License:MIT License


Languages

Language:Vim Script 100.0%