feat(init): resize panes when vim window is resized
Signed-off-by: Sébastien Elet <sebastien@elet.fr>
This commit is contained in:
parent
130442712b
commit
a67e19a439
@ -85,3 +85,9 @@ autocmd("BufDelete", {
|
|||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Auto resize panes
|
||||||
|
autocmd("VimResized", {
|
||||||
|
pattern = "*",
|
||||||
|
command = "tabdo wincmd =",
|
||||||
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user