From b54aca9d9a3c342f9a6edbd268dd38b210756459 Mon Sep 17 00:00:00 2001 From: Leonhard Kost Date: Sat, 21 Jun 2025 16:36:49 +0200 Subject: [PATCH] Add basic keymaps to nixvim --- modules/home-manager/nixvim.nix | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/modules/home-manager/nixvim.nix b/modules/home-manager/nixvim.nix index b08bfc4..52c42b3 100644 --- a/modules/home-manager/nixvim.nix +++ b/modules/home-manager/nixvim.nix @@ -40,5 +40,39 @@ confirm = true; }; + + keymaps = [ + { + mode = "n"; + key = ""; + action = "nohlsearch"; + options.silent = true; + } + + { + mode = "n"; + key = ""; + action = ""; + options.desc = "Move focus to the left window"; + } + { + mode = "n"; + key = ""; + action = ""; + options.desc = "Move focus to the right window"; + } + { + mode = "n"; + key = ""; + action = ""; + options.desc = "Move focus to the upper window"; + } + { + mode = "n"; + key = ""; + action = ""; + options.desc = "Move focus to the lower window"; + } + ]; }; }