1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-14 23:49:19 +08:00

fix(mapping): use tab split instead of tabedit % to avoid E499

thanks to @zeertzjq
This commit is contained in:
wsdjeg 2022-04-23 11:16:27 +08:00
parent 5e7db7bae4
commit 023c48c740

View File

@ -926,7 +926,7 @@ function! s:maximize_minimize_win() abort
if exists('*win_getid')
let s:_maximize_previous_winid = win_getid()
endif
tabedit %
tab split
let t:_maximize_previous_win = tabpagenr()
endif