X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/b07234bfa0ac5faf7d41c1da24e4beb1d296420c..0c3e21db6e92390a935c317c7e451c4a9b95084d:/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 ';'