summaryrefslogtreecommitdiff
path: root/tmux/tmux.rocky.conf
blob: 84009cf44344821cc5f4b09cfa5af372df49f039 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Rocky VM tmux overrides
# Use C-g as prefix (nested tmux: earth outer=C-b, rocky inner=C-g)

# ── Prefix ──────────────────────────────────────────────────────────────
unbind C-b
set -g prefix C-g
bind C-g send-prefix

# ── Drastic RED/ORANGE color scheme so you know you're inside ROCKY ──────
# Earth (outer)  = magenta active border + white-on-purple status
# Rocky (inner)  = bright red border + black-on-orange status

set -g pane-active-border-style 'fg=brightred,bold'
set -g pane-border-style        'fg=colour8'

set -g status-style             'bg=colour208,fg=black,bold'
set -g status-left              ' [ROCKY] #[bg=brightred,fg=white] #S #[default] '
set -g status-left-length       30

set -g window-status-current-style 'bg=brightred,fg=white,bold'
set -g window-status-style         'bg=colour208,fg=black'
set -g window-status-current-format ' #I*#[bg=brightred,fg=white] #W '
set -g window-status-format         ' #I #[bg=colour208,fg=black] #W '

# Pane indicators (prefix+q pane numbers)
set -g display-panes-colour       colour208
set -g display-panes-active-colour brightred

# Show pane info on borders (tmux 3.1+), colored to match
set -g pane-border-status top
set -g pane-border-format '#[fg=colour208] #{pane_index} #[fg=brightred]#{pane_title} '

# Disable hexai status theme on rocky (not installed / not relevant)
set -g status-right              '#[fg=colour8]| %H:%M '
set -g status-right-length       30

# ── Terminal ─────────────────────────────────────────────────────────────
# TERM inside tmux — must advertise 256 colors so helix/fzf/etc work
set -g default-terminal 'tmux-256color'

# Tell tmux that outer terminals supporting truecolor should pass it through
set -ga terminal-overrides ',xterm-256color:Tc,*-256color:Tc'

# Pass COLORTERM through from outer SSH session so helix knows truecolor is available
set -g update-environment 'DISPLAY SSH_ASKPASS SSH_AGENT_LAUNCHER SSH_AUTH_SOCK SSH_CONNECTION SSH_TTY WINDOWID XAUTHORITY TERM COLORTERM'

# ── Visual bell ─────────────────────────────────────────────────────────
set -g visual-bell off
set -g bell-action any