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