diff --git a/ftplugin/python.vim b/ftplugin/python.vim index 8401525..e36ae2d 100644 --- a/ftplugin/python.vim +++ b/ftplugin/python.vim @@ -9,5 +9,6 @@ set foldnestmax=1 set colorcolumn=88 +noremap :w:!clear;python % nnoremap :call SaveAndExecute('python') command! CTagsPython !ctags -R --fields=+l --languages=python --python-kinds=-iv -f ./.tags-py $(python -c "import os, sys; print(' '.join('{}'.format(d) for d in sys.path if os.path.isdir(d)))")