4

Restore cursor to file position in previous editing session

view full story
linux-howto

http://vim.wikia.com – exit earlier; use explicit variable scope ← Older revision Revision as of 01:08, December 1, 2010 Line 31: Line 31: if has("folding") if has("folding") function! s:UnfoldCur() function! s:UnfoldCur()   + if ! &foldenable   + return   + endif   + let l:pline = line(".") let l:pline = line(".") - if pline > 1 && &foldenable + if l:pline > 1 - (HowTos)