aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/nixvim
diff options
context:
space:
mode:
Diffstat (limited to 'modules/development/nixvim')
-rw-r--r--modules/development/nixvim/keymaps.nix23
1 files changed, 22 insertions, 1 deletions
diff --git a/modules/development/nixvim/keymaps.nix b/modules/development/nixvim/keymaps.nix
index fee21e5..cc258c1 100644
--- a/modules/development/nixvim/keymaps.nix
+++ b/modules/development/nixvim/keymaps.nix
@@ -13,7 +13,7 @@
action = "<nop>";
options.desc = "Disable leader delay";
}
- # pane navigation
+ # window navigation
{
key = "<c-h>";
action = "<c-w>h";
@@ -34,6 +34,27 @@
action = "<c-w>l";
options.desc = "Move to right window";
}
+ # window resizing
+ {
+ key = "<C-=>";
+ action = "<c-w>+";
+ options.desc = "Increase window height";
+ }
+ {
+ key = "<C-->";
+ action = "<c-w>-";
+ options.desc = "Decrease window height";
+ }
+ {
+ key = "<C-.>";
+ action = "<c-w>>";
+ options.desc = "Increase window height";
+ }
+ {
+ key = "<C-,>";
+ action = "<c-w><";
+ options.desc = "Decrease window height";
+ }
# scrolling
{
key = "<c-d>";