diff options
Diffstat (limited to 'files/vim/ftplugin/python/python.vim')
-rw-r--r-- | files/vim/ftplugin/python/python.vim | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/files/vim/ftplugin/python/python.vim b/files/vim/ftplugin/python/python.vim new file mode 100644 index 0000000..bb0e6f9 --- /dev/null +++ b/files/vim/ftplugin/python/python.vim @@ -0,0 +1,17 @@ +" ~/.vim/ftplugin/python/python.vim +" Python-specific vim configuration + +" Column marker: 80 characters +call matchadd('ColorColumn', '\%81v', 100) +let b:syntastic_mode="passive" + +nnoremap <leader>C :sp ~/.vim/ftplugin/python/python.vim<CR> +nnoremap <leader>E :Errors<CR> + +nnoremap <leader>gt :YcmCompleter GoTo<CR> +nnoremap <leader>gr :YcmCompleter GoToReferences<CR> +nnoremap <leader>gd :YcmCompleter GetDoc<CR> +nnoremap <leader>gT :YcmCompleter GetType<CR> +nnoremap <leader>fi :YcmCompleter FixIt<CR> +nnoremap <leader>r :YcmCompleter RefactorRename<Space> +nnoremap <leader>e :YcmDiags<CR> |