Allow disabling of maps through g:no_plugin_maps
This commit is contained in:
parent
dd6926acd0
commit
83619a037b
@ -70,4 +70,6 @@ function! s:Bclose(bang, buffer)
|
|||||||
execute wcurrent.'wincmd w'
|
execute wcurrent.'wincmd w'
|
||||||
endfunction
|
endfunction
|
||||||
command! -bang -complete=buffer -nargs=? Bclose call <SID>Bclose('<bang>', '<args>')
|
command! -bang -complete=buffer -nargs=? Bclose call <SID>Bclose('<bang>', '<args>')
|
||||||
|
if !g:no_plugin_maps
|
||||||
nnoremap <silent> <Leader>bd :Bclose<CR>
|
nnoremap <silent> <Leader>bd :Bclose<CR>
|
||||||
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user