diff --git a/.vim/plugin/cscope_plus.vim b/.vim/plugin/cscope_plus.vim index 273fb49..0397093 100644 --- a/.vim/plugin/cscope_plus.vim +++ b/.vim/plugin/cscope_plus.vim @@ -72,7 +72,7 @@ if has("cscope") call GetCscopeDb(path) endfunction command! GenerateCscopeDb :call GenerateCscopeDb() - +endif " Let autotags find all cscodepeDb " LoadLocalCscopeDb @@ -124,11 +124,10 @@ command! ShowMenuCodeDb \ title: "Code database for ".g:build_cmd, \ callback: 'MenuCB', highlight: 'Question', padding: [1,1,0,1]} ) -endif if v:version >= 800 " or 820? - map :ShowMenuCodeDb + noremap :ShowMenuCodeDb else - map :call MenuCB(0, 1) + noremap :call MenuCB(0, 1) endif map :call MenuCB(0, 2)