diff options
Diffstat (limited to 'config/nvim/lua/plugins/resize.lua')
| -rw-r--r-- | config/nvim/lua/plugins/resize.lua | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/config/nvim/lua/plugins/resize.lua b/config/nvim/lua/plugins/resize.lua index bdb3ff6..ea3ce0c 100644 --- a/config/nvim/lua/plugins/resize.lua +++ b/config/nvim/lua/plugins/resize.lua @@ -1,4 +1,34 @@ return { name = "resize", dir = "~/.config/nvim/lua/myplugins", -} + keys = { + { + "<C-A-Left>", + function() + require("myplugins.resize").ResizeLeft() + end, + desc = "Resize window left", + }, + { + "<C-A-Right>", + function() + require("myplugins.resize").ResizeRight() + end, + desc = "Resize window right", + }, + { + "<C-A-Up>", + function() + require("myplugins.resize").ResizeUp() + end, + desc = "Resize window up", + }, + { + "<C-A-Down>", + function() + require("myplugins.resize").ResizeDown() + end, + desc = "Resize window down", + }, + }, +}
\ No newline at end of file |
