From 1940bd26a6538210f2e03dd657705d532c67a097 Mon Sep 17 00:00:00 2001 From: Robin Kautz Date: Mon, 5 Jul 2021 18:02:05 +0200 Subject: evenly resize split windows (#698) * evenly resize split windows * fixed indention --- lua/default-config.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lua/default-config.lua') diff --git a/lua/default-config.lua b/lua/default-config.lua index 661f8f23..01b3ff83 100644 --- a/lua/default-config.lua +++ b/lua/default-config.lua @@ -288,4 +288,8 @@ require("lv-utils").define_augroups { _buffer_bindings = { { "FileType", "floaterm", "nnoremap q :q" }, }, + _auto_resize = { + -- will cause split windows to be resized evenly if main window is resized + {'VimResized ', '*', 'wincmd ='}, + }, } -- cgit v1.2.3