Skip to content

Manage the zellij config, with the session manager reachable from the keyboard - #19

Merged
ldayton merged 1 commit into
mainfrom
lily/zellij-config
Aug 23, 2026
Merged

ldayton merged 1 commit into
mainfrom
lily/zellij-config

Conversation

@ldayton

@ldayton ldayton commented Aug 23, 2026

Copy link
Copy Markdown
Owner

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.kdl into 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 in locked.

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-defaults merges 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-t n still opens a tab. install.sh --dry-run checked on a non-worktree copy.

https://claude.ai/code/session_01Nc82hT858iY2iLHJavHkib

… 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
@ldayton
ldayton merged commit f0b5089 into main Aug 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant