-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmux.conf
More file actions
42 lines (34 loc) · 1.35 KB
/
Copy pathtmux.conf
File metadata and controls
42 lines (34 loc) · 1.35 KB
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
set-option -g allow-rename off
bind r source-file ~/.config/tmux/tmux.conf \; display "config reloaded."
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
bind -r C-h swap-pane -t '{left-of}'
bind -r C-j swap-pane -t '{down-of}'
bind -r C-k swap-pane -t '{up-of}'
bind -r C-l swap-pane -t '{right-of}'
bind s split-window -v
bind v split-window -h
set -g mouse on
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
# Forward copy buffer to host terminal clipboard via OSC52 (Ghostty supports it).
set -s set-clipboard on
set -g default-terminal "tmux-256color"
set -as terminal-features ",*:RGB"
set -g window-style 'bg=#002b36'
set -g window-active-style 'bg=#002b36'
set -g status-style bg='#073642',fg='#93a1a1'
setw -g window-status-current-style fg='#eee8d5',bg='#002b36'
setw -g window-status-style fg='#839496',bg='#073642'
set -g message-style bg='#073642',fg='#eee8d5'
set -g history-limit 1000000
set-option -g status-interval 3
set-option -g status-right-length 45
if-shell 'uname -r | grep -q -- "-nvidia$"' 'set-option -g status-right-length 80; set-option -g status-right "#(~/.local/bin/spark-monitor --statusline)"'