autosave folds when saving instead of bufwinleave

This commit is contained in:
ManjaroOne666 2018-02-01 18:03:07 +00:00
parent 4effb9c01b
commit 1e05b0f5b4
1 changed files with 1 additions and 1 deletions

2
vimrc
View File

@ -288,7 +288,7 @@ set showmode
" persistent folds
augroup AutoSaveFolds
autocmd!
autocmd BufWinLeave *.* mkview
autocmd BufWritePost *.* mkview
autocmd BufWinEnter *.* silent loadview
augroup END