From 48c99b1fb84c82fc8a740d6edbf4b64b9238cded Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Sat, 27 Jan 2024 15:51:27 -0500 Subject: Automatically resize windows back to equal on resize --- lua/mitch/init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/mitch/init.lua b/lua/mitch/init.lua index 6fadd4f..6fa6b3a 100644 --- a/lua/mitch/init.lua +++ b/lua/mitch/init.lua @@ -59,3 +59,7 @@ vim.opt.undoreload = 10000 -- lots of history, it's always nice to find old nasty command that happen -- to be really useful vim.opt.history = 10000 + + +vim.cmd("set ea") +vim.cmd("autocmd VimResized * wincmd =") -- cgit v1.2.3