From de024aa2bdb60db0aa3daad5d30da96f8a44a1fa Mon Sep 17 00:00:00 2001 From: Paul-Henri Froidmont Date: Sun, 14 Jul 2024 07:19:36 +0200 Subject: [PATCH] Neovim: add missing window bindings --- modules/editor/vim.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/modules/editor/vim.nix b/modules/editor/vim.nix index d33c3d7..cbd23c8 100644 --- a/modules/editor/vim.nix +++ b/modules/editor/vim.nix @@ -300,6 +300,24 @@ in { action = "l"; options = { desc = "Go to Right Winddow"; remap = true; }; } + { + mode = "n"; + key = "wl"; + action = "l"; + options = { desc = "Go to Right Winddow"; remap = true; }; + } + { + mode = "n"; + key = ""; + action = "h"; + options = { desc = "Go to Left Winddow"; remap = true; }; + } + { + mode = "n"; + key = "wh"; + action = "h"; + options = { desc = "Go to Left Winddow"; remap = true; }; + } # Move lines { mode = "n";