Always create new buffer

Nowadays :enew won't create a new buffer if the current buffer is empty. So this
won't create an unused, empty, unnamed buffer.
This commit is contained in:
Marco Hinz 2018-04-09 14:31:53 +02:00
parent 113655717e
commit 0a81f95abf
No known key found for this signature in database
GPG key ID: 1C980A1B657B4A4F
2 changed files with 5 additions and 6 deletions

View file

@ -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 noautocmd enew | call startify#insane_in_the_membrane()
command! -nargs=0 -bar Startify call startify#insane_in_the_membrane()
command! -nargs=0 -bar StartifyDebug call startify#debug()
nnoremap <silent><plug>(startify-open-buffers) :<c-u>call startify#open_buffers()<cr>