Skip to content

Commit 4522f6b

Browse files
nvim: add keymap for resize window
1 parent fae203c commit 4522f6b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/nvim/lua/minizilla/keymap.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,8 @@ map('<Up>', '<Nop>')
4949
map('<Right>', '<Nop>')
5050
map('<PageUp>', '<Nop>')
5151
map('<PageDown>', '<Nop>')
52+
53+
map('<S-Up>', '<Cmd>resize +2<CR>')
54+
map('<S-Down>', '<Cmd>resize -2<CR>')
55+
map('<S-Left>', '<Cmd>vertical resize -2<CR>')
56+
map('<S-Right>', '<Cmd>vertical resize +2<CR>')

0 commit comments

Comments
 (0)