From c219350d2357545c9cfb8679de313951df866b0c Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Fri, 2 Aug 2024 05:17:39 +0200 Subject: [PATCH] Finer height resize control --- lua/keymaps.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/keymaps.lua b/lua/keymaps.lua index 05d7728..f2588cf 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -28,8 +28,8 @@ vim.keymap.set('n', '', 'echo "Use j to move!!"') -- Resize windows vim.keymap.set('n', '', 'wincmd 15 >', { desc = 'Increase window width' }) vim.keymap.set('n', '', 'wincmd 15 <', { desc = 'Decrease window width' }) -vim.keymap.set('n', '', 'wincmd 15 +', { desc = 'Increase window height' }) -vim.keymap.set('n', '', 'wincmd 15 -', { desc = 'Decrease window height' }) +vim.keymap.set('n', '', 'wincmd 8 +', { desc = 'Increase window height' }) +vim.keymap.set('n', '', 'wincmd 8 -', { desc = 'Decrease window height' }) vim.keymap.set('n', '', 'wincmd =', { desc = 'Set height/width equal' }) -- Keybinds to make split navigation easier.