diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-12 18:29:19 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-29 03:50:26 +0530 |
| commit | c3c72a81f90191c32a122ad5e065b1212912e9ab (patch) | |
| tree | 9af5ac3bdcca0ac157d10926437f699dcb430855 /modules/development/nixvim | |
| parent | 6fa4af79e3ec293b6aabe9a97007ed6332aa6d6b (diff) | |
| download | home-manager-config-c3c72a81f90191c32a122ad5e065b1212912e9ab.tar.gz home-manager-config-c3c72a81f90191c32a122ad5e065b1212912e9ab.zip | |
feat: replaced dark-mode with darkreader, neovim navigation
- replaced dark-mode with darkreader for better dark mode support
- half-page and full-page navigations now center the cursor
Diffstat (limited to 'modules/development/nixvim')
| -rw-r--r-- | modules/development/nixvim/keymaps.nix | 20 |
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"; + } ]; } |
