4

Deleting a buffer without closing the window

view full story
linux-howto

http://vim.wikia.com – Undo revision 28540 by 77.246.105.103 <q-args> does not work with, e.g. ':Bclose 12' ← Older revision Revision as of 07:36, October 6, 2010 Line 114: Line 114: execute wcurrent.'wincmd w' execute wcurrent.'wincmd w' endfunction endfunction - command! -bang -complete=buffer -nargs=? Bclose call <SID>Bclose('<bang>', <q-args>) + command! -bang -complete=buffer -nargs=? Bclose call <SID>Bclose('<bang>', '<args>') nnoremap <silent> <Leader>bd :B (HowTos)