Fix switching to calling buffer

References #115.
This commit is contained in:
Marco Hinz 2014-11-13 21:01:45 +01:00
parent f8f90f5704
commit d17bc302d4
2 changed files with 9 additions and 15 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(0)
\ | call startify#insane_in_the_membrane()
\ | 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 call startify#insane_in_the_membrane(bufnr('%'))
command! -nargs=0 -bar Startify call startify#insane_in_the_membrane()