diff --git a/home/programs/tui/nvf/keymaps.nix b/home/programs/tui/nvf/keymaps.nix index 09e62b53..b2d7f24e 100644 --- a/home/programs/tui/nvf/keymaps.nix +++ b/home/programs/tui/nvf/keymaps.nix @@ -207,6 +207,28 @@ desc = "Dedent and keep selection"; } + # Scroll and center + { + key = ""; + mode = [ + "n" + "v" + ]; + silent = true; + action = "zz"; + desc = "Scroll down and center"; + } + { + key = ""; + mode = [ + "n" + "v" + ]; + silent = true; + action = "zz"; + desc = "Scroll up and center"; + } + # Move { key = "";