From 0fb0d84a8eb78e5c39a7dd71947e615e82677272 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Tue, 2 Apr 2019 19:31:15 +0100 Subject: [PATCH] to run python script with no buffer output --- ftplugin/python.vim | 1 + 1 file changed, 1 insertion(+) 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)))")