parent
c381ab79fc
commit
549f7f0c1b
|
@ -11,9 +11,7 @@ let g:loaded_startify = 1
|
||||||
let g:startify_locked = 0
|
let g:startify_locked = 0
|
||||||
|
|
||||||
augroup startify
|
augroup startify
|
||||||
if !get(g:, 'startify_disable_at_vimenter')
|
autocmd VimEnter * nested call s:genesis()
|
||||||
autocmd VimEnter * nested call s:genesis()
|
|
||||||
endif
|
|
||||||
|
|
||||||
if get(g:, 'startify_session_persistence')
|
if get(g:, 'startify_session_persistence')
|
||||||
autocmd VimLeave * call s:extinction()
|
autocmd VimLeave * call s:extinction()
|
||||||
|
@ -38,7 +36,7 @@ function! s:genesis()
|
||||||
if !argc() && (line2byte('$') == -1)
|
if !argc() && (line2byte('$') == -1)
|
||||||
if get(g:, 'startify_session_autoload') && filereadable('Session.vim')
|
if get(g:, 'startify_session_autoload') && filereadable('Session.vim')
|
||||||
source Session.vim
|
source Session.vim
|
||||||
else
|
elseif !get(g:, 'startify_disable_at_vimenter')
|
||||||
call startify#insane_in_the_membrane()
|
call startify#insane_in_the_membrane()
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue