Skip to content

feat(terminal): switch to zellij#123

Draft
david-hamilton-glean wants to merge 29 commits intomasterfrom
hjdivad/zellij/st
Draft

feat(terminal): switch to zellij#123
david-hamilton-glean wants to merge 29 commits intomasterfrom
hjdivad/zellij/st

Conversation

@david-hamilton-glean
Copy link
Collaborator

@david-hamilton-glean david-hamilton-glean commented Jan 9, 2026

No description provided.

- start in locked mode
- update many keybindings to enter locked mode after normal
  - it's possible i can drop the normal switch entirely; haven't
    investigated
- enter to lock rather than c-g.  gives a "lock on select" feel for tab
  & pane navigation
- toggle floating pane only in locked.  gives a much better feel.
- alt-r for resize

Missing pieces for a good zellij experience:
- next/prev session within a work list
- keybinding for switching to named session (although this might be
  trivial via alias)
Now that I have a more sensible normal/locked mode, use p and t for pane
and tab, rather than an unnecessary extra ctrl.
Mise has nicer ux when tasks are organized into directories.
This lets codex run the tests in network-sandboxed mode.
zellij + wezterm configured so

⌘1-8 switches to zellij tab 1 nvim tab 1..8
⌘9 switches to zellij tab 2 (agents tab)
Switch straight to locked; no need to -> normal; -> locked.
Switch to zellij pane when window-moving off the edge.

e.g. <c-w>h at the leftmost window will move zellij focus left
Handle cases:

- in linked worktree on task branch
- in main worktree on task branch
- in main worktree on non-task branch
mv some common dotfiles from macos
- always have cwd at worktree
- when main (not linked) worktree, symlink .uc to the local state file

A consequence is only one running task is possible per main worktree,
which is fine.  Supporting main worktrees is itself not the happy path
anyway.
Don't use terminals in neovim at all.  Just rely on zellij for
terminals.
For some reason I can't just update all plugins; I need to debug why
this causes instability.

But I need to update a couple packages to get LSPs working again.
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.

2 participants