diff --git a/.vimrc b/.vimrc index ee37f43..57ecf4d 100644 --- a/.vimrc +++ b/.vimrc @@ -289,13 +289,13 @@ call NERDTreeHighlightFile('Makefile' , 'lightred') " go to definition and center screen (navigate forward in the tags stack) -nnoremap :YcmCompleter GoTozz +"nnoremap :YcmCompleter GoTozz " jump back from definition (navigate backward in the jumps stack) -nnoremap +"nnoremap " open the definition in a vertical split and center screen -nnoremap :vsp :exec(":YcmCompleter GoTo")zz +"nnoremap :vsp :exec(":YcmCompleter GoTo")zz -nnoremap ? :YcmCompleter GetDoc +"nnoremap ? :YcmCompleter GetDoc " Trigger configuration. Do not use if you use https://github.com/Valloric/YouCompleteMe. let g:UltiSnipsExpandTrigger="" @@ -306,13 +306,13 @@ let g:UltiSnipsExpandTrigger="" " set tags+=~/.vim/tags/cpp " build tags of your own project with CTRL+F12 -" map :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . +map :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . " go to definition and center screen (navigate forward in the tags stack) -" nnoremap zz +nnoremap zz " jump back from definition (navigate backward in the tags stack) -"nnoremap +nnoremap " open the definition in a vertical split and center screen -" nnoremap :vsp :exec("tag ".expand(""))zz + nnoremap :vsp :exec("tag ".expand(""))zz " OmniCppComplete " let OmniCpp_NamespaceSearch = 1