X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/c140fef96fe86e16c5c417dff042e7d6fe1a516c..b95409a110b36eee9c2b30fefe04d1767758617f:/vim/ftplugin/cpp.vim diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index 7dd40e6..5f68c35 100644 --- a/vim/ftplugin/cpp.vim +++ b/vim/ftplugin/cpp.vim @@ -21,6 +21,9 @@ augroup fswitch au BufEnter *.cpp let b:fswitchlocs = 'reg:/\Csource/include/' augroup END +nnoremap gd :YcmCompleter GoTo +nnoremap d :vs:YcmCompleter GoTo + setlocal foldmethod=syntax " set foldlevel according to number of matches of 'namespace' and 'class' not " containing ';'