From 1354eee354c6b9651bdca08bcdf94398af67d156 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Thu, 24 Jul 2025 09:56:18 -0500 Subject: [PATCH] Basic zellij configuration --- home/baseline/tools.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/home/baseline/tools.nix b/home/baseline/tools.nix index e41017e..e40f890 100644 --- a/home/baseline/tools.nix +++ b/home/baseline/tools.nix @@ -11,4 +11,28 @@ ] ++ (lib.optionals pkgs.stdenv.hostPlatform.isLinux [ impala ]); + + programs = { + zellij = { + enable = true; + attachExistingSession = true; + enableZshIntegration = pkgs.stdenv.hostPlatform.isDarwin; + settings = { + keybinds = { + normal._children = [ + { + bind = { + _args = [ "Ctrl b" ]; + _children = [ + { + SwitchToMode._args = [ "locked" ]; + } + ]; + }; + } + ]; + }; # /keybinds + }; # /settings + }; + }; }