Эх сурвалжийг харах

Update v:oldfiles on :saveas

References #175.
Marco Hinz 10 жил өмнө
parent
commit
a58f92e781
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      plugin/startify.vim

+ 1 - 1
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('<afile>'), 0) |
         \ endif