tmux/claude: "jump to next session needing attention" keybinding #4

Open
opened 2026-06-03 18:19:35 +00:00 by jmz · 0 comments
Owner

Context

With several Claude windows open, finding the one that needs you means scanning
the tab bar. @claude_status already marks which windows are prompt/waiting/
idle.

Proposal

A prefix keybinding that jumps to the next window whose @claude_status is in
{prompt,waiting,idle}, cycling through them. Pairs with the desktop-
notification issue: hear the ping → one keystroke to the window that needs you.

Implementation sketch

  • Small helper that lists windows in the current session, filters by
    @claude_status, and select-windows the next one after the current.
  • Bind in dot_config/tmux/tmux.conf.local.tmpl, e.g. bind-key C-a
    (or a free key) run-shell '<helper>'.
  • Optional priority order: prompt (blocked) before waiting before idle.

Effort

Small (tmux binding + ~20-line shell/awk helper).

Part of the "attention routing" bundle.

## Context With several Claude windows open, finding the one that needs you means scanning the tab bar. `@claude_status` already marks which windows are `prompt`/`waiting`/ `idle`. ## Proposal A `prefix` keybinding that jumps to the next window whose `@claude_status` is in {`prompt`,`waiting`,`idle`}, cycling through them. Pairs with the desktop- notification issue: hear the ping → one keystroke to the window that needs you. ## Implementation sketch - Small helper that lists windows in the current session, filters by `@claude_status`, and `select-window`s the next one after the current. - Bind in `dot_config/tmux/tmux.conf.local.tmpl`, e.g. `bind-key C-a` (or a free key) `run-shell '<helper>'`. - Optional priority order: `prompt` (blocked) before `waiting` before `idle`. ## Effort Small (tmux binding + ~20-line shell/awk helper). Part of the "attention routing" bundle.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jmz/dotfiles-public#4
No description provided.