Don't call Startify at start when using evim, view, etc.
@@ -14,7 +14,10 @@ let g:startify_session_dir = resolve(expand(get(g:, 'startify_session_dir',
augroup startify
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
command! -nargs=? -bar -complete=customlist,startify#get_session_names SSave call startify#save_session(<f-args>)