diff --git a/plugin/startify.vim b/plugin/startify.vim index ff1d681..3d0c610 100644 --- a/plugin/startify.vim +++ b/plugin/startify.vim @@ -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()