-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_tmux.conf
45 lines (32 loc) · 1.09 KB
/
dot_tmux.conf
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
set-option -sa terminal-features ',screen-256color:RGB'
set -asg terminal-features ",alacritty:256:RGB:mouse:cstyle"
set -sg default-terminal tmux-256color
set -asg terminal-features ",tmux-256color:256:RGB:mouse:cstyle"
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'dracula/tmux'
set -g @dracula-plugins "cpu-usage gpu-usage ram-usage"
set -g @dracula-cpu-usage-label "CPU"
set -g @dracula-show-flags true
set -g mouse on
setw -g mode-keys vi
# Easy reloading with r
bind r source-file ~/.tmux.conf
# Pane resizing
bind ( resize-pane -L 5
bind ) resize-pane -R 5
bind - resize-pane -D 5
bind + resize-pane -U 5
# Need this to clear?
bind -n C-k clear-history
# start window numbers at 1 to match keyboard order with tmux window order
set -g base-index 1
set -g pane-base-index 1
setw -g base-index 1
setw -g pane-base-index 1
set -g @resurrect-save 'S'
set -g @resurrect-restore 'R'
bind R source-file ~/.tmux.conf \; display "Reloaded!"
set-option -g automatic-rename on
run -b '~/.tmux/plugins/tpm/tpm'