Skip to content

Carry tmux's tab moves, zoom flag, and hostname into herdr - #6656

Merged
dhh merged 2 commits into
quattrofrom
herdr-status-right
Aug 9, 2026
Merged

Carry tmux's tab moves, zoom flag, and hostname into herdr#6656
dhh merged 2 commits into
quattrofrom
herdr-status-right

Conversation

@dhh

@dhh dhh commented Aug 9, 2026

Copy link
Copy Markdown
Member

Closes the remaining status-right and window-management gaps from the tmux setup, now that herdr carries the needed features in our fork build (submitted upstream as herdrdev/herdr#2560, #2561, and #2562):

  • move_tab_previous/move_tab_next on alt+shift+left/right — tmux's swap-window -t -1/+1 on M-S-Left/Right, wrapping at either end
  • tab_bar_hostname = true puts the machine hostname at the right edge of the tab bar, where #h lived in status-right; remote sessions show the remote host
  • the ZOOM flag from #{?window_zoomed_flag,ZOOM ,} now renders automatically as a right-aligned pill next to the hostname whenever the focused pane is zoomed — no config needed

Requires the herdr package at 0.8.0.r3, which pins the fork commit carrying all three patches plus the earlier resize bindings.

— 🤖 Claude, posting on behalf of @dhh

Copilot AI balanced review requested due to automatic review settings August 9, 2026 12:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Extends the default herdr configuration to match remaining tmux behavior.

Changes:

  • Adds wrapping tab-movement shortcuts.
  • Enables hostname display alongside the automatic ZOOM indicator.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread config/herdr/config.toml
mouse_capture = true

# tmux showed #h in status-right; the ZOOM flag shows there automatically
tab_bar_hostname = true
Copilot AI review requested due to automatic review settings August 9, 2026 12:32
@dhh
dhh merged commit f511cf8 into quattro Aug 9, 2026
4 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

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