diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2024-01-27 15:51:27 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2024-01-27 15:51:27 -0500 |
| commit | 48c99b1fb84c82fc8a740d6edbf4b64b9238cded (patch) | |
| tree | 09c9c33e2b45227a289fbb53845b1e3218014b72 | |
| parent | 43141e4803f9297cc62449137257d2444ac3233f (diff) | |
| download | nvim-config-48c99b1fb84c82fc8a740d6edbf4b64b9238cded.tar.gz nvim-config-48c99b1fb84c82fc8a740d6edbf4b64b9238cded.tar.xz | |
Automatically resize windows back to equal on resize
| -rw-r--r-- | lua/mitch/init.lua | 4 |
1 files changed, 4 insertions, 0 deletions
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 =") |
