mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-12 21:00:38 +00:00
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
1 changed files with 6 additions and 0 deletions
|
@ -85,3 +85,9 @@ autocmd("BufDelete", {
|
|||
end
|
||||
end,
|
||||
})
|
||||
|
||||
-- Auto resize panes
|
||||
autocmd("VimResized", {
|
||||
pattern = "*",
|
||||
command = "tabdo wincmd =",
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue