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:
parent
5e7db7bae4
commit
023c48c740
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user