diff --git a/plugin/bclose.vim b/plugin/bclose.vim index a1fc2c2..7ad3987 100644 --- a/plugin/bclose.vim +++ b/plugin/bclose.vim @@ -70,3 +70,6 @@ function! s:Bclose(bang, buffer) execute wcurrent.'wincmd w' endfunction command! -bang -complete=buffer -nargs=? Bclose call Bclose('', '') +if !g:no_plugin_maps + nnoremap bd :Bclose +endif