Prepend to v:oldfiles for new files too
This commit is contained in:
parent
5a60580711
commit
b5f9682732
|
@ -28,7 +28,7 @@ function! s:genesis()
|
||||||
call startify#insane_in_the_membrane()
|
call startify#insane_in_the_membrane()
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
autocmd startify BufRead * if exists('v:oldfiles') | call insert(v:oldfiles, expand('<afile>'), 0) | endif
|
autocmd startify BufNewFile,BufRead * if exists('v:oldfiles') | call insert(v:oldfiles, expand('<afile>'), 0) | endif
|
||||||
autocmd! startify VimEnter
|
autocmd! startify VimEnter
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue