From a58f92e78135d38aaf84b8d6392245418658641a Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Fri, 7 Aug 2015 00:15:28 +0200 Subject: [PATCH] Update v:oldfiles on :saveas References #175. --- plugin/startify.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/startify.vim b/plugin/startify.vim index f41b9b0..8875952 100644 --- a/plugin/startify.vim +++ b/plugin/startify.vim @@ -31,7 +31,7 @@ function! s:genesis() call startify#insane_in_the_membrane() endif endif - autocmd startify BufNewFile,BufRead * + autocmd startify BufNewFile,BufRead,BufFilePre * \ if !g:startify_locked && exists('v:oldfiles') | \ call insert(v:oldfiles, expand(''), 0) | \ endif