Reworked resize window binds
This commit is contained in:
parent
8d7b580f15
commit
ebf1276112
1 changed files with 4 additions and 4 deletions
|
@ -31,10 +31,10 @@ vim.keymap.set('n', '<up>', '<cmd>echo "Use k to move!!"<CR>')
|
|||
vim.keymap.set('n', '<down>', '<cmd>echo "Use j to move!!"<CR>')
|
||||
|
||||
-- Resize windows
|
||||
vim.keymap.set('n', '<C-S-l>', '<cmd>wincmd 15 ><CR>', { desc = 'Increase window width' })
|
||||
vim.keymap.set('n', '<C-S-h>', '<cmd>wincmd 15 <<CR>', { desc = 'Decrease window width' })
|
||||
vim.keymap.set('n', '<C-S-k>', '<cmd>wincmd 5 +<CR>', { desc = 'Increase window height' })
|
||||
vim.keymap.set('n', '<C-S-j>', '<cmd>wincmd 5 -<CR>', { desc = 'Decrease window height' })
|
||||
vim.keymap.set('n', '<C-Up>', '<cmd>resize +2<cr>', { desc = 'Increase Window Height' })
|
||||
vim.keymap.set('n', '<C-Down>', '<cmd>resize -2<cr>', { desc = 'Decrease Window Height' })
|
||||
vim.keymap.set('n', '<C-Left>', '<cmd>vertical resize -2<cr>', { desc = 'Decrease Window Width' })
|
||||
vim.keymap.set('n', '<C-Right>', '<cmd>vertical resize +2<cr>', { desc = 'Increase Window Width' })
|
||||
vim.keymap.set('n', '<C-S-0>', '<cmd>wincmd =<CR>', { desc = 'Set height/width equal' })
|
||||
|
||||
-- Keybinds to make split navigation easier.
|
||||
|
|
Loading…
Reference in a new issue