simplify startup regex check

This commit is contained in:
Marco Hinz 2013-04-28 12:30:31 +02:00
parent 76e480a6bb
commit 5cfbde36c1

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 =~? '^vim' || v:progname =~? '^gvim') |
\ if !argc() && (line2byte('$') == -1) && (v:progname =~# '^g\=vim') |
\ call s:insane_in_the_membrane() |
\ endif
augroup END