mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-13 15:39:09 +08:00
Open startify after closing last buffer
close https://github.com/SpaceVim/SpaceVim/issues/3988
This commit is contained in:
parent
421c059d14
commit
a34c156fe4
@ -193,6 +193,9 @@ function! SpaceVim#mapping#close_current_buffer(...) abort
|
||||
exe cmd_close_buf . bn
|
||||
else
|
||||
exe cmd_close_buf . bn
|
||||
if exists(':Startify') ==# 2
|
||||
Startify
|
||||
endif
|
||||
endif
|
||||
elseif index > 0
|
||||
if index + 1 == len(buffers)
|
||||
|
Loading…
x
Reference in New Issue
Block a user