Handle vim -y and vim -M better

This commit is contained in:
Marco Hinz 2019-01-12 22:13:35 +01:00
parent 36db232426
commit 888290d39a
No known key found for this signature in database
GPG key ID: 1C980A1B657B4A4F
2 changed files with 4 additions and 5 deletions

View file

@ -37,7 +37,7 @@ function! s:on_vimenter()
if get(g:, 'startify_session_autoload') && filereadable('Session.vim')
source Session.vim
elseif !get(g:, 'startify_disable_at_vimenter')
call startify#insane_in_the_membrane()
call startify#insane_in_the_membrane(1)
endif
endif
if get(g:, 'startify_update_oldfiles')
@ -60,7 +60,7 @@ command! -nargs=? -bar -complete=customlist,startify#session_list SLoad
command! -nargs=? -bar -bang -complete=customlist,startify#session_list SSave call startify#session_save(<bang>0, <f-args>)
command! -nargs=? -bar -bang -complete=customlist,startify#session_list SDelete call startify#session_delete(<bang>0, <f-args>)
command! -nargs=0 -bar SClose call startify#session_close()
command! -nargs=0 -bar Startify call startify#insane_in_the_membrane()
command! -nargs=0 -bar Startify call startify#insane_in_the_membrane(0)
command! -nargs=0 -bar StartifyDebug call startify#debug()
nnoremap <silent><plug>(startify-open-buffers) :<c-u>call startify#open_buffers()<cr>