New option: g:startify_disable_at_vimenter
This commit is contained in:
parent
446f7dbbff
commit
25af84baa0
2 changed files with 16 additions and 5 deletions
|
@ -11,11 +11,13 @@ endif
|
|||
let g:loaded_startify = 1
|
||||
|
||||
augroup startify
|
||||
autocmd VimEnter *
|
||||
\ if !argc() && (line2byte('$') == -1) && (v:progname =~? '^[gm]\=vimx\=\%[\.exe]$') |
|
||||
\ call startify#insane_in_the_membrane() |
|
||||
\ endif |
|
||||
\ autocmd! startify VimEnter
|
||||
if !get(g:, 'startify_disable_at_vimenter')
|
||||
autocmd VimEnter *
|
||||
\ if !argc() && (line2byte('$') == -1) && (v:progname =~? '^[gm]\=vimx\=\%[\.exe]$') |
|
||||
\ call startify#insane_in_the_membrane() |
|
||||
\ endif |
|
||||
\ autocmd! startify VimEnter
|
||||
endif
|
||||
augroup END
|
||||
|
||||
command! -nargs=? -bar -complete=customlist,startify#session_list SSave call startify#session_save(<f-args>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue