Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " automatically save / restore folds, etc.
- function Custom_mkview()
- if &foldmethod != "diff"
- silent! mkview
- endif
- endfunction
- au BufWinLeave * call Custom_mkview()
- au BufWinEnter * silent! loadview
Add Comment
Please, Sign In to add comment