From 6f5fc5c2293da4bac380d77d5d750b8d34ac1a86 Mon Sep 17 00:00:00 2001 From: gwg313 Date: Sat, 18 Apr 2026 01:36:37 -0400 Subject: [PATCH] add zellij keybinds for floating jj windows --- modules/features/programs/cli/cli-zellij.nix | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/modules/features/programs/cli/cli-zellij.nix b/modules/features/programs/cli/cli-zellij.nix index cb36a59..9f4e728 100644 --- a/modules/features/programs/cli/cli-zellij.nix +++ b/modules/features/programs/cli/cli-zellij.nix @@ -74,6 +74,20 @@ bind "Alt l" { MoveFocus "Right"; } bind "Alt f" { ToggleFloatingPanes; } bind "Alt n" { NewPane; } + bind "Alt g" { + Run "sh" "-c" "jj log --color always | less -R" { + name " JJ Log " + floating true + close_on_exit true + } + } + bind "Alt s" { + Run "sh" "-c" "jj st --color always | less -R" { + name " JJ Status " + floating true + close_on_exit true + } + } } locked { @@ -99,6 +113,22 @@ bind "s" { SwitchToMode "Scroll"; } bind "d" { Detach; } bind "q" { Quit; } + bind "g" { + Run "sh" "-c" "jj log --color always | less -R" { + name " JJ Log " + floating true + close_on_exit true + }; + SwitchToMode "Locked"; + } + bind "s" { + Run "sh" "-c" "jj st --color always | less -R" { + name " JJ Status " + floating true + close_on_exit true + }; + SwitchToMode "Locked"; + } } scroll {