mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 23:49:19 +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
|
exe cmd_close_buf . bn
|
||||||
else
|
else
|
||||||
exe cmd_close_buf . bn
|
exe cmd_close_buf . bn
|
||||||
|
if exists(':Startify') ==# 2
|
||||||
|
Startify
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
elseif index > 0
|
elseif index > 0
|
||||||
if index + 1 == len(buffers)
|
if index + 1 == len(buffers)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user