Ctrl+A tmux prefix unreliable on macOS in split panes #10

Closed
opened 2026-07-20 07:27:15 +01:00 by pedromcaraujo · 0 comments

On macOS browsers, the Ctrl+A tmux prefix (set in modules/shell.nix) doesn't reliably reach tmux — readline "beginning of line" appears to win before it hits the prefix binding, so pane navigation (prefix ←↑↓→, prefix z, etc.) breaks in split panes. Linux is unaffected.

Since the tmux server is shared server-side, a single config serves every client and can't detect the client OS.

Fix: keep Ctrl+A as the primary prefix (Linux stays as-is) and add Ctrl+B as a global secondary prefix (prefix2) as a reliable fallback on Mac.

On macOS browsers, the `Ctrl+A` tmux prefix (set in `modules/shell.nix`) doesn't reliably reach tmux — readline "beginning of line" appears to win before it hits the prefix binding, so pane navigation (`prefix ←↑↓→`, `prefix z`, etc.) breaks in split panes. Linux is unaffected. Since the tmux server is shared server-side, a single config serves every client and can't detect the client OS. **Fix:** keep `Ctrl+A` as the primary prefix (Linux stays as-is) and add `Ctrl+B` as a global secondary prefix (`prefix2`) as a reliable fallback on Mac.
Sign in to join this conversation.
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
pedromcaraujo/forge#10
No description provided.