From e28783da1f7b627778da45e7c8aed0efbc110d39 Mon Sep 17 00:00:00 2001 From: rootiest Date: Thu, 8 Aug 2024 22:37:26 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(smart-splits)!:=20add=20resize?= =?UTF-8?q?-mode=20keymap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a keymap to initialize resize mode for splits. BREAKING CHANGE: This requires an accompanying change in the kitty config (see commit: rootiest-kitty- #9998018) --- lua/config/keymaps.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index 4e758ca..c1e25d9 100644 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -97,6 +97,13 @@ local resize_splits = { end, "Resize split right", }, + { + "", + function() + smartsplits.start_resize_mode() + end, + "Resize split to previous size", + }, } for _, map in ipairs(resize_splits) do