Skip to content

Instantly share code, notes, and snippets.

augroup pythonFold
autocmd!
autocmd BufReadPre *.py setlocal foldmethod=indent
autocmd CursorMovedI *.py call LightlineContext()
autocmd CursorMoved *.py call LightlineContext()
augroup END
function! PinFold()
" save current position