<F4> to run python script with no buffer output

This commit is contained in:
ManjaroOne666 2019-04-02 19:31:15 +01:00
parent b6cf740ee2
commit 0fb0d84a8e
1 changed files with 1 additions and 0 deletions

View File

@ -9,5 +9,6 @@ set foldnestmax=1
set colorcolumn=88 set colorcolumn=88
noremap <F4> <Esc>:w<CR>:!clear;python %<CR>
nnoremap <silent> <buffer> <F5> :call SaveAndExecute('python')<CR> nnoremap <silent> <buffer> <F5> :call SaveAndExecute('python')<CR>
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)))") 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)))")