]> git.rmz.io Git - dotfiles.git/commitdiff
vim: use ycm goto in python files
authorSamir Benmendil <me@rmz.io>
Tue, 23 Aug 2016 07:43:46 +0000 (08:43 +0100)
committerSamir Benmendil <me@rmz.io>
Tue, 23 Aug 2016 07:43:46 +0000 (08:43 +0100)
vim/ftplugin/python.vim

index 0a465190f1e827fc491156767009bf3056e7a48e..5b5277e3e86d2d9257d40e3637304a276286936b 100644 (file)
@@ -1 +1,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>