Update v:oldfiles on :saveas

References #175.
This commit is contained in:
Marco Hinz 2015-08-07 00:15:28 +02:00
parent 695121f065
commit a58f92e781

View file

@ -31,7 +31,7 @@ function! s:genesis()
call startify#insane_in_the_membrane() call startify#insane_in_the_membrane()
endif endif
endif endif
autocmd startify BufNewFile,BufRead * autocmd startify BufNewFile,BufRead,BufFilePre *
\ if !g:startify_locked && exists('v:oldfiles') | \ if !g:startify_locked && exists('v:oldfiles') |
\ call insert(v:oldfiles, expand('<afile>'), 0) | \ call insert(v:oldfiles, expand('<afile>'), 0) |
\ endif \ endif