You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(setup): make a fresh install land in Flock, not plain Zellij
Everything that distinguishes Flock — the sidebar dock, the project selector,
agent status — was opt-in through hand-authored KDL, so `flock` with no config
was byte-for-byte upstream `zellij`. Phase 0 of the out-of-the-box plan:
- default_layout ships as "flock" instead of being unset, so the sidebar is
docked on startup.
- Super s opens the project selector. Super is swallowed by some terminals
before Flock sees it; documented, with the rebind.
- flock-selector and flock-sidebar are registered as plugin aliases, and the
bundled layouts now reference those aliases instead of restating args. Folder
args are therefore stated once in config.kdl and reach the layouts, the
keybinding, and each project session's sidebar alike.
- Sessions created from the selector default to the `flock` layout. They
previously got Zellij's `default`, leaving a project opened *through* Flock
with no sidebar and no way back to the selector.
The alias indirection removes an existing bug class by construction rather than
by discipline: a keybinding whose arg set disagreed with the layout's used to
miss the running selector and launch a second one (see the subset-match test in
plugins/plugin_map.rs). With one source of truth the sets cannot disagree.
Because the alias is resolved late and silently — an unresolved alias just loads
no plugin and renders an empty dock — both bundled layouts get a test asserting
they resolve against the shipped default config.
BREAKING: a custom ~/.config/flock/layouts/default.kdl is no longer loaded on
startup, since resolution now looks for the name "flock". Set
default_layout "default" to restore it, or rename the file to flock.kdl. Pinned
by tests in both directions.
0 commit comments