Make startify work for 'vi' too

..due to popular demand. :)

Closes #79.
This commit is contained in:
Marco Hinz 2014-04-14 23:42:42 +02:00
parent 95e8b9f95f
commit abffc53f0b

View file

@ -13,7 +13,7 @@ let g:loaded_startify = 1
augroup startify
if !get(g:, 'startify_disable_at_vimenter')
autocmd VimEnter *
\ if !argc() && (line2byte('$') == -1) && (v:progname =~? '^[gm]\=vimx\=\%[\.exe]$') |
\ if !argc() && (line2byte('$') == -1) && (v:progname =~? '^[gm]\=vim\=x\=\%[\.exe]$') |
\ call startify#insane_in_the_membrane() |
\ endif |
\ autocmd! startify VimEnter