run startify at start only for 'vim' and 'gvim'
Don't call Startify at start when using evim, view, etc.
This commit is contained in:
parent
12d0ca643b
commit
b6c528b6aa
|
@ -14,7 +14,10 @@ let g:startify_session_dir = resolve(expand(get(g:, 'startify_session_dir',
|
||||||
|
|
||||||
augroup startify
|
augroup startify
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd VimEnter * if !argc() && (line2byte('$') == -1) | call s:insane_in_the_membrane() | endif
|
autocmd VimEnter *
|
||||||
|
\ if !argc() && (line2byte('$') == -1) && (v:progname == 'vim' || v:progname == 'gvim') |
|
||||||
|
\ call s:insane_in_the_membrane() |
|
||||||
|
\ endif
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
command! -nargs=? -bar -complete=customlist,startify#get_session_names SSave call startify#save_session(<f-args>)
|
command! -nargs=? -bar -complete=customlist,startify#get_session_names SSave call startify#save_session(<f-args>)
|
||||||
|
|
Loading…
Reference in a new issue