diff --git a/lua/keymaps.lua b/lua/keymaps.lua index b46ffae..a34583e 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -31,10 +31,10 @@ vim.keymap.set('n', '', 'echo "Use k to move!!"') 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 5 +', { desc = 'Increase window height' }) -vim.keymap.set('n', '', 'wincmd 5 -', { desc = 'Decrease window height' }) +vim.keymap.set('n', '', 'resize +2', { desc = 'Increase Window Height' }) +vim.keymap.set('n', '', 'resize -2', { desc = 'Decrease Window Height' }) +vim.keymap.set('n', '', 'vertical resize -2', { desc = 'Decrease Window Width' }) +vim.keymap.set('n', '', 'vertical resize +2', { desc = 'Increase Window Width' }) vim.keymap.set('n', '', 'wincmd =', { desc = 'Set height/width equal' }) -- Keybinds to make split navigation easier.