AGENT DESK - ZELLIJ HOTKEYS                     (q closes this, / searches)
===========================================================================
Alt is the LEFT Option key. Ghostty needs `macos-option-as-alt = left`
(quoin-cockpit install offers to add it); the right Option key still types
accents and symbols. On a Russian layout the same physical keys work:
Alt+п = Alt+g, Alt+ф = Alt+a, Alt+ы = Alt+s, and so on.

OPEN THIS CHEATSHEET
  Alt /              in any Agent Desk session (floating pane)
  agentdesk-keys     from any shell (also: agentdesk --keys)

GLOBAL (every mode except locked)
  Alt g          lock: all keys go to the app; Alt g again unlocks
  Alt n          new pane
  Alt h/j/k/l    focus left/down/up/right (left/right cross tabs)
  Alt f          show/hide floating panes
  Alt i          move tab left
  Alt + / -      grow / shrink pane
  Alt [ / ]      previous / next swap layout
  Esc / Enter    back to normal mode

ENTER A MODE (press the same key again to leave it)
  Alt a   pane        Alt r   resize      Alt v   scroll / search
  Alt x   tab         Alt m   move pane   Alt s   session
  Alt z   tmux-style
  Ctrl p/t/n/h/s/b also enter pane/tab/resize/move/scroll/tmux unless
  the full key map is on (then those Ctrl keys go to the app).

QUIT / DETACH
  Alt s, then q    quit zellij (Ctrl q is unbound on purpose)
  Alt s, then d    detach; the session keeps running
  Alt s, then w    session manager
  From another terminal: `quoin-cockpit sessions`, `quoin-cockpit attach`

PANE MODE (Alt a)
  n new   r new right   d new down   s stacked   x close
  f fullscreen   w toggle floating   e embed <-> float   i pin
  c rename   z toggle frames   h/j/k/l focus   p next pane

TAB MODE (Alt x)
  n new   x close   r rename   1-9 go to tab   h/l previous/next
  Tab last tab   b break pane into a new tab   [ / ] break pane left/right
  s send input to all panes in the tab

RESIZE MODE (Alt r)
  h/j/k/l grow toward that side   H/J/K/L shrink   + / - whole pane

MOVE MODE (Alt m)
  h/j/k/l move pane   n or Tab next position   p previous

SCROLL MODE (Alt v)
  j/k line   d/u half page   h/l or PgUp/PgDn page
  s search, then n/p next/previous, c case, w wrap, o whole word
  e open scrollback in $EDITOR   Ctrl c jump to bottom and leave

SESSION MODE (Alt s)
  q quit   d detach   w sessions   l layouts   c config
  p plugins   s share   a about

TMUX MODE (Alt z) - one action, then back to normal
  " split down   % split right   c new tab   n/p next/previous tab
  x close pane   z fullscreen   , rename tab   [ scroll   d detach
  Space next layout

KEYS SEEM DEAD?
  1. You are probably locked: press Alt g.
  2. The bottom status bar shows the current mode.
  3. Alt does nothing at all: Ghostty is missing macos-option-as-alt.
  4. Last resort, from another terminal: zellij kill-all-sessions
