From 5cfbde36c1a72c2c416ac50973be9c39a40c8dad Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Sun, 28 Apr 2013 12:30:31 +0200 Subject: [PATCH] simplify startup regex check --- plugin/startify.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/startify.vim b/plugin/startify.vim index 4771595..e2a0302 100644 --- a/plugin/startify.vim +++ b/plugin/startify.vim @@ -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