diff --git a/.vim/plugin/cscope_plus.vim b/.vim/plugin/cscope_plus.vim index 626cc86..b182a9d 100644 --- a/.vim/plugin/cscope_plus.vim +++ b/.vim/plugin/cscope_plus.vim @@ -103,10 +103,10 @@ if has("cscope") endfunction command! GenerateCscopeDb :call GenerateCscopeDb() - if has("cscope") - map :call GetCscopeDb(expand("%:p:h")) - map :call GenerateCscopeDb() - map :call GetLocalCscopeDb(expand("%:p:h")) - endif +"" if has("cscope") +"" map :call GetCscopeDb(expand("%:p:h")) +"" map :call GenerateCscopeDb() +"" map :call GetLocalCscopeDb(expand("%:p:h")) +"" endif endif diff --git a/.vimrc b/.vimrc index 47b49ac..23fee63 100644 --- a/.vimrc +++ b/.vimrc @@ -12,8 +12,8 @@ " F8 view tag list " S-F8 build ctags/cscope databases " M-F8 build kernel ctags/cscope databases -" S-F9 build cscope in .vim/cscope -" F9 Search cscopeDB in .vim/cscope +" F9 Show diff line +" S-F9 Highlight diff line " M-F10 diff tool " F10 folding " S-F10 unfolding @@ -299,7 +299,7 @@ nmap :split =expand("%:h") . "/" runtime! ftplugin/man.vim " show vimrc with shift+F1 nmap :tabe ~/.vimrcgg -"imap +imap " show contextual help with F1 function Help() try @@ -413,6 +413,12 @@ let g:Tex_DefaultTargetFormat="pdf" colorscheme mycolor cnoremap sudow w !sudo tee % >/dev/null +""""""""""" +" gitgutter +""""""""""" +map :GitGutterSignsToggle +map :GitGutterLineHighlightsToggle + """"""""" " Plugin" """"""""" @@ -428,5 +434,6 @@ Plugin 'gmarik/vundle' " plugin from github Plugin 'airblade/vim-gitgutter' Plugin 'tpope/vim-fugitive' - +" Same as gitgutter but for other cvs +"Plugin mhinz/vim-signify