feat(init): resize panes when vim window is resized

Signed-off-by: Sébastien Elet <sebastien@elet.fr>
This commit is contained in:
Sébastien Elet 2022-08-19 18:23:25 +02:00 committed by Sidhanth Rathod
parent 130442712b
commit a67e19a439
1 changed files with 6 additions and 0 deletions

View File

@ -85,3 +85,9 @@ autocmd("BufDelete", {
end
end,
})
-- Auto resize panes
autocmd("VimResized", {
pattern = "*",
command = "tabdo wincmd =",
})