Don't save the startify buffer in a session

References #106.
This commit is contained in:
Marco Hinz 2014-09-07 18:49:49 +02:00
parent 1765f6b6bb
commit 4a788df9b4
2 changed files with 22 additions and 7 deletions

View file

@ -14,7 +14,7 @@ augroup startify
if !get(g:, 'startify_disable_at_vimenter')
autocmd VimEnter *
\ if !argc() && (line2byte('$') == -1) && (v:progname =~? '^[gmnq]\=vim\=x\=\%[\.exe]$') |
\ call startify#insane_in_the_membrane() |
\ call startify#insane_in_the_membrane(0) |
\ endif |
\ autocmd! startify VimEnter
endif
@ -30,4 +30,4 @@ augroup END
command! -nargs=? -bar -complete=customlist,startify#session_list SSave call startify#session_save(<f-args>)
command! -nargs=? -bar -complete=customlist,startify#session_list SLoad call startify#session_load(<f-args>)
command! -nargs=? -bar -complete=customlist,startify#session_list SDelete call startify#session_delete(<f-args>)
command! -nargs=0 -bar Startify enew | call startify#insane_in_the_membrane()
command! -nargs=0 -bar Startify call startify#insane_in_the_membrane(bufnr('%'))