Add BufOnly command to close all buffers other than current

This commit is contained in:
Edward Litherland-Smith 2021-01-20 14:51:32 +00:00
parent 142223cf0e
commit abeb2a9e02

1
vimrc
View file

@ -30,6 +30,7 @@ noremap <C-H> <C-W><C-H>
imap jk <Esc>
command Bd b# | bd #
command! BufOnly silent! execute "%bd|e#|bd#"
set splitbelow
set splitright