aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development
diff options
context:
space:
mode:
Diffstat (limited to 'modules/development')
-rw-r--r--modules/development/nixvim/keymaps.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/development/nixvim/keymaps.nix b/modules/development/nixvim/keymaps.nix
index 95e1f24..46c3168 100644
--- a/modules/development/nixvim/keymaps.nix
+++ b/modules/development/nixvim/keymaps.nix
@@ -31,5 +31,25 @@
];
options.desc = "Toggle file explorer";
}
+ {
+ key = "<c-d>";
+ action = "<c-d>zz";
+ options.desc = "Scroll half page down and center";
+ }
+ {
+ key = "<c-u>";
+ action = "<c-u>zz";
+ options.desc = "Scroll half page up and center";
+ }
+ {
+ key = "<c-f>";
+ action = "<c-f>zz";
+ options.desc = "Scroll full page down and center";
+ }
+ {
+ key = "<c-b>";
+ action = "<c-b>zz";
+ options.desc = "Scroll full page up and center";
+ }
];
}