From dbffb22f00470b0a5332dfed3ec1879174bef3b1 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Fri, 28 Feb 2025 23:12:51 +0100 Subject: [PATCH] feat(neovim): remap some keys to better defaults. --- modules/home-manager/neovim.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/modules/home-manager/neovim.nix b/modules/home-manager/neovim.nix index 26c1c1c..7265d06 100644 --- a/modules/home-manager/neovim.nix +++ b/modules/home-manager/neovim.nix @@ -175,6 +175,30 @@ silent = true; desc = "Open Mini.Files and manage the filesystem."; } + { + key = ""; + mode = ["n"]; + action = "zz"; + silent = true; + } + { + key = ""; + mode = ["n"]; + action = "zz"; + silent = true; + } + { + key = ""; + mode = ["n"]; + action = "zz"; + silent = true; + } + { + key = ""; + mode = ["n"]; + action = "zz"; + silent = true; + } ]; extraLuaFiles = [./nvim/autocommands.lua];