]> git.rmz.io Git - dotfiles.git/commitdiff
vim/python: binding for ycm GoToReferences
authorSamir Benmendil <me@rmz.io>
Sat, 8 Aug 2020 12:17:04 +0000 (13:17 +0100)
committerSamir Benmendil <me@rmz.io>
Sat, 8 Aug 2020 12:17:04 +0000 (13:17 +0100)
Same as the c++ binding.

vim/ftplugin/python.vim

index 5b5277e3e86d2d9257d40e3637304a276286936b..c64e31f17f481d1c61dae8f268a797e48a2060db 100644 (file)
@@ -2,3 +2,4 @@ setlocal foldlevelstart=1  " at least show content of classes
 
 nnoremap <buffer> gd :YcmCompleter GoTo<CR>
 nnoremap <buffer> <C-W>d :vs<CR>:YcmCompleter GoTo<CR>
 
 nnoremap <buffer> gd :YcmCompleter GoTo<CR>
 nnoremap <buffer> <C-W>d :vs<CR>:YcmCompleter GoTo<CR>
+nnoremap <buffer> gD :YcmCompleter GoToReferences<CR>