nvim/after/ftplugin/python.vim

12 lines
247 B
VimL

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