Use VimLeavePre for session persistence

This commit is contained in:
Marco Hinz 2017-06-15 18:15:32 +02:00
parent 53c53b2444
commit 7f910ed436
No known key found for this signature in database
GPG key ID: 1C980A1B657B4A4F

View file

@ -16,7 +16,7 @@ endif
augroup startify
autocmd VimEnter * nested call s:genesis()
autocmd VimLeave * call s:extinction()
autocmd VimLeavePre * nested call s:extinction()
autocmd QuickFixCmdPre *vimgrep* let g:startify_locked = 1
autocmd QuickFixCmdPost *vimgrep* let g:startify_locked = 0
augroup END