add zellij keybinds for nested zellij

This commit is contained in:
Noah Masur
2026-01-31 13:08:53 -05:00
parent 6b17248804
commit 2f2d2c0145

View File

@@ -101,6 +101,22 @@ in
show_startup_tips = false;
keybinds = {
locked = {
# For servers that I SSH into, use c-a-G to unlock
"bind \"Ctrl Alt G\"" = lib.mkIf (pkgs.stdenv.isLinux && !config.programs.ghostty.enable) {
SwitchToMode = {
_args = [ "normal" ];
};
};
};
normal = {
# For servers that I SSH into, use c-a-G to lock
"bind \"Ctrl Alt G\"" = lib.mkIf (pkgs.stdenv.isLinux && !config.programs.ghostty.enable) {
SwitchToMode = {
_args = [ "locked" ];
};
};
};
session = {
"bind \"w\"" = {
LaunchOrFocusPlugin = {