autosave folds when saving instead of bufwinleave
This commit is contained in:
parent
4effb9c01b
commit
1e05b0f5b4
1 changed files with 1 additions and 1 deletions
2
vimrc
2
vimrc
|
|
@ -288,7 +288,7 @@ set showmode
|
|||
" persistent folds
|
||||
augroup AutoSaveFolds
|
||||
autocmd!
|
||||
autocmd BufWinLeave *.* mkview
|
||||
autocmd BufWritePost *.* mkview
|
||||
autocmd BufWinEnter *.* silent loadview
|
||||
augroup END
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue