Use :SS! to force overwriting a potentially existing session
This can be used to avoid the following prompt when using :SSave "Session already exists. Overwrite? [y/n]" References #295
This commit is contained in:
parent
22ccf58613
commit
95d182979e
2 changed files with 4 additions and 4 deletions
|
@ -56,8 +56,8 @@ function! s:extinction()
|
|||
endif
|
||||
endfunction
|
||||
|
||||
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 SLoad call startify#session_load(<f-args>)
|
||||
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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue