diff --git a/plugin/bclose.vim b/plugin/bclose.vim index 7ad3987..18f3d73 100644 --- a/plugin/bclose.vim +++ b/plugin/bclose.vim @@ -70,6 +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 +if !exists ("g:no_plugin_maps") || !g:no_plugin_maps nnoremap bd :Bclose endif