From c8fe4a91a316bfba2cf5e9135f904d57a537636c Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Thu, 4 Dec 2025 08:42:38 -0600 Subject: [PATCH] Fix Zellij navigation --- home/baseline/vim/config.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/home/baseline/vim/config.nix b/home/baseline/vim/config.nix index ac0e6a4..3521182 100644 --- a/home/baseline/vim/config.nix +++ b/home/baseline/vim/config.nix @@ -35,10 +35,11 @@ }; keymaps = let - winMove = key: { + winMove = key: dir: { mode = "n"; key = ""; - action = "${key}"; + #action = "${key}"; + action = ":ZellijNavigate${dir}"; }; in [ @@ -58,10 +59,10 @@ key = ""; action = ":Git"; } - (winMove "h") - (winMove "j") - (winMove "k") - (winMove "l") + (winMove "h" "Left") + (winMove "j" "Down") + (winMove "k" "Up") + (winMove "l" "Right") ]; plugins = { airline.enable = true; @@ -135,7 +136,7 @@ notify.enable = true; remote-nvim.enable = true; web-devicons.enable = true; - zellij.enable = true; + zellij-nav.enable = true; }; userCommands = { Ggr = {