17 lines
688 B
Bash
17 lines
688 B
Bash
# Reduce escape sequence latency — default 500ms makes scroll feel completely broken
|
|
# in TUI apps (Claude Code, vim, etc.) because each wheel event uses escape sequences.
|
|
set -s escape-time 10
|
|
|
|
# Pass focus events through to applications (Claude Code uses these)
|
|
set -g focus-events on
|
|
|
|
# True color passthrough
|
|
set -ga terminal-overrides ",*256col*:Tc"
|
|
|
|
# Larger scrollback for when you need tmux copy mode
|
|
set -g history-limit 50000
|
|
|
|
# Mouse wheel scrolls tmux scrollback (auto-enters copy mode) instead of being
|
|
# passed as arrow keys to the inner app (which would scroll Claude history etc.)
|
|
# Hold Option on macOS to bypass tmux and use native terminal selection.
|
|
set -g mouse on
|