mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-03 09:35:26 +02:00
fix(autocmds): resume view on current tab after _auto_resize (#4610)
This commit is contained in:
parent
0ae0fe176e
commit
aa51c20f34
1 changed files with 5 additions and 1 deletions
|
@ -71,7 +71,11 @@ function M.load_defaults()
|
|||
{
|
||||
group = "_auto_resize",
|
||||
pattern = "*",
|
||||
command = "tabdo wincmd =",
|
||||
command = [[
|
||||
let _auto_resize_current_tab = tabpagenr()
|
||||
tabdo wincmd =
|
||||
execute 'tabnext' _auto_resize_current_tab
|
||||
]],
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue