From a43a5a8e4bd84b92c353a96848eb32097c98f6aa Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Sun, 28 Dec 2025 10:27:10 -0800 Subject: [PATCH] Add tmux hotkey C-b f for feed window (gt-95j13) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- internal/tmux/tmux.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/internal/tmux/tmux.go b/internal/tmux/tmux.go index be5bf6db..5f8331ce 100644 --- a/internal/tmux/tmux.go +++ b/internal/tmux/tmux.go @@ -608,6 +608,9 @@ func (t *Tmux) ConfigureGasTownSession(session string, theme Theme, rig, worker, if err := t.SetMailClickBinding(session); err != nil { return fmt.Errorf("setting mail click binding: %w", err) } + if err := t.SetFeedBinding(session); err != nil { + return fmt.Errorf("setting feed binding: %w", err) + } return nil } @@ -671,6 +674,17 @@ func (t *Tmux) SetCrewCycleBindings(session string) error { return nil } +// SetFeedBinding configures C-b f to jump to the activity feed window. +// This creates the feed window if it doesn't exist, or switches to it if it does. +// Uses `gt feed --window` which handles both creation and switching. +func (t *Tmux) SetFeedBinding(session string) error { + // C-b f → gt feed --window (jump to feed window, creating if needed) + // The feed command detects the current session from tmux environment + _, err := t.run("bind-key", "-T", "prefix", "f", + "run-shell", "gt feed --window") + return err +} + // SetPaneDiedHook sets a pane-died hook on a session to detect crashes. // When the pane exits, tmux runs the hook command with exit status info. // The agentID is used to identify the agent in crash logs (e.g., "gastown/Toast").