From 206415a6f7e4b45afc1e04a31220650d954c1b7f Mon Sep 17 00:00:00 2001 From: Nick Date: Tue, 7 Oct 2025 23:28:31 -0500 Subject: [PATCH] feat: added zellij hotkeys --- modules/home/cli/shell/zellij/default.nix | 49 +++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/modules/home/cli/shell/zellij/default.nix b/modules/home/cli/shell/zellij/default.nix index dab8cec..3e39f44 100755 --- a/modules/home/cli/shell/zellij/default.nix +++ b/modules/home/cli/shell/zellij/default.nix @@ -1,8 +1,57 @@ +{ lib, pkgs, ... }: { programs.zellij = { enable = true; settings = { theme = "catppuccin-mocha"; + default_shell = lib.getExe pkgs.nushell; + keybinds.normal._children = [ + + { + bind = { + _args = [ + "Alt Left" + "Alt c" + ]; + _children = [ + { MoveFocus._args = [ "Left" ]; } + ]; + }; + } + { + bind = { + _args = [ + "Alt Up" + "Alt a" + ]; + _children = [ + { MoveFocus._args = [ "Up" ]; } + ]; + }; + } + { + bind = { + _args = [ + "Alt Down" + "Alt e" + ]; + _children = [ + { MoveFocus._args = [ "Down" ]; } + ]; + }; + } + { + bind = { + _args = [ + "Alt Right" + "Alt i" + ]; + _children = [ + { MoveFocus._args = [ "Right" ]; } + ]; + }; + } + ]; }; }; }