change startup check regex once again #2

This commit is contained in:
Marco Hinz 2013-04-28 15:05:25 +02:00
parent 4a170ee843
commit 620bb954de

View file

@ -15,7 +15,7 @@ let g:startify_session_dir = resolve(expand(get(g:, 'startify_session_dir',
augroup startify
autocmd!
autocmd VimEnter *
\ if !argc() && (line2byte('$') == -1) && (v:progname !~# 'g\=vimdiff\|view\|evim') |
\ if !argc() && (line2byte('$') == -1) && (v:progname =~# '^[gm]\=vim\%[\.exe]$') |
\ call s:insane_in_the_membrane() |
\ endif
augroup END