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:
parent
113655717e
commit
0a81f95abf
2 changed files with 5 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue