parent
2eaa25ba57
commit
de709a4dbe
2 changed files with 16 additions and 3 deletions
|
@ -42,9 +42,11 @@ function! s:genesis()
|
|||
call startify#insane_in_the_membrane()
|
||||
endif
|
||||
endif
|
||||
call map(v:oldfiles, 'fnamemodify(v:val, ":p")')
|
||||
autocmd startify BufNewFile,BufRead,BufFilePre *
|
||||
\ call s:update_oldfiles(expand('<afile>:p'))
|
||||
if get(g:, 'startify_update_oldfiles')
|
||||
call map(v:oldfiles, 'fnamemodify(v:val, ":p")')
|
||||
autocmd startify BufNewFile,BufRead,BufFilePre *
|
||||
\ call s:update_oldfiles(expand('<afile>:p'))
|
||||
endif
|
||||
autocmd! startify VimEnter
|
||||
endfunction
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue