Krolyxon
Commit 1658e95

Branches

Refs →

aurora.configtmuxtmux.conf

55 lines · 1.6 KB · nginx

1
2##### tmux.conf - tuned for Foot (Wayland) + preserve transparency + truecolor #####
3
4# responsiveness
5set -s escape-time 0
6set-option -g history-limit 5000
7
8# prefix
9unbind C-b
10set -g prefix2 C-s
11set -g prefix C-Space
12
13# numbering
14set -g base-index 1
15setw -g pane-base-index 1
16set -g renumber-windows on
17
18# reload quickly
19bind r source-file ~/.config/tmux/tmux.conf
20
21##### transparency & styles #####
22# let the terminal compositor handle the background (keeps transparency)
23set -g window-style 'bg=default'
24set -g window-active-style 'bg=default'
25set -g status-style 'bg=default'
26
27# default-terminal: use a screen-compatible value to avoid missing terminfo,
28# but tell tmux to pass 24-bit color capability for common terminal names
29set -g default-terminal "screen-256color"
30set -ga terminal-overrides ",screen-256color:Tc,foot:Tc,xterm-256color:Tc,alacritty:Tc"
31
32##### vi mode / copy #####
33set-window-option -g mode-keys vi
34bind -T copy-mode-vi v send-keys -X begin-selection
35bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'wl-copy'
36
37##### keys #####
38bind h select-pane -L
39bind j select-pane -D
40bind k select-pane -U
41bind l select-pane -R
42bind Space last-window
43bind c new-window -c "#{pane_current_path}"
44bind-key -r i run-shell "tmux neww tms"
45bind -r C-h resize-pane -L 5
46bind -r C-j resize-pane -D 5
47bind -r C-k resize-pane -U 5
48bind -r C-l resize-pane -R 5
49
50##### plugins (temporarily disable if debugging) #####
51set -g @plugin 'tmux-plugins/tpm'
52# Tokyo Night can override bg — comment out while debugging
53set -g @plugin 'fabioluciano/tmux-tokyo-night'
54run '~/.config/tmux/plugins/tpm/tpm'
55