Manage the zellij config, with the session manager reachable from the keyboard - #19
Merged
Merged
Conversation
… keyboard zellij was installed by the Brewfile but its config was never tracked, so default_mode "locked" -- set at some point through zellij's own configuration plugin, which rewrote ~/.config/zellij/config.kdl into a 650-line expansion of every default -- broke the session manager with nothing in the repo to explain it. The manager would open and take mouse input but ignore the keyboard. A floating plugin pane only receives keys while zellij is in locked mode (zellij-org/zellij#4599, open). The stock session-mode binds end with SwitchToMode "normal", which is exactly the state where the plugin goes deaf, so each of the six now lands back in locked. The tracked file is the four settings that actually differ from stock rather than the generated dump: comparing the two mode-by-mode showed the dump was the defaults verbatim apart from those, and overriding without clear-defaults merges over them. Verified by driving zellij in a pty -- typing reaches the session manager, Esc closes it back to LOCKED, and Ctrl-t n still opens a tab. Claude-Session: https://claude.ai/code/session_01Nc82hT858iY2iLHJavHkib
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
zellij was installed by the Brewfile but its config was never tracked.
default_mode "locked"had been set through zellij's own configuration plugin — which also rewrote~/.config/zellij/config.kdlinto a 650-line expansion of every default — and that broke the session manager, with nothing in the repo to explain why. It would open and accept mouse input but silently ignore the keyboard.The cause is upstream: a floating plugin pane only receives keystrokes while zellij is in locked mode (zellij-org/zellij#4599, still open). The stock session-mode binds end with
SwitchToMode "normal", which is precisely the state where the plugin goes deaf, so all six now land back inlocked.The tracked file is the four settings that actually differ from stock, not the generated dump — a mode-by-mode comparison showed the dump was the defaults verbatim apart from those, and overriding without
clear-defaultsmerges over them.Verified by driving zellij in a pty against the tracked file: typing reaches the session manager, Esc closes it back to LOCKED, and
Ctrl-tnstill opens a tab.install.sh --dry-runchecked on a non-worktree copy.https://claude.ai/code/session_01Nc82hT858iY2iLHJavHkib