nvim/after/ftplugin/python.vim

12 lines
247 B
VimL
Raw Permalink Normal View History

setlocal tabstop=4
2020-03-19 15:47:31 +00:00
setlocal textwidth=88
2020-03-19 15:47:31 +00:00
setlocal foldmethod=indent
setlocal foldnestmax=1
2020-03-19 15:47:31 +00:00
setlocal colorcolumn=88
2020-03-19 15:47:31 +00:00
noremap <F4> :w<CR>:silent !clear;python %<CR> :redraw!<CR>
nnoremap <silent> <buffer> <F5> :call SaveAndExecute('python')<CR>