nvim/after/ftplugin/python.vim

12 lines
222 B
VimL

set tabstop=4
set textwidth=88
set foldmethod=indent
set foldnestmax=1
set colorcolumn=88
noremap <F4> :w<CR>:silent !clear;python %<CR> :redraw!<CR>
nnoremap <silent> <buffer> <F5> :call SaveAndExecute('python')<CR>