X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/f4edf8f985e48b2cdf3c538c2dab951d6fe405fd..2f1cd5e44d3d1d6eeabc60e26d5a340803da7c9f:/vim/ftplugin/python.vim diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim index 5b5277e..83d8895 100644 --- a/vim/ftplugin/python.vim +++ b/vim/ftplugin/python.vim @@ -1,4 +1,7 @@ setlocal foldlevelstart=1 " at least show content of classes -nnoremap gd :YcmCompleter GoTo -nnoremap d :vs:YcmCompleter GoTo +if exists("g:loaded_youcompleteme") + nnoremap gd :YcmCompleter GoTo + nnoremap d :vs:YcmCompleter GoTo + nnoremap gD :YcmCompleter GoToReferences +endif