-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdot_tmux.conf
More file actions
34 lines (27 loc) · 1.09 KB
/
Copy pathdot_tmux.conf
File metadata and controls
34 lines (27 loc) · 1.09 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
set -g mouse on
set -g base-index 1
# Bind Alt+number (M-1 to M-9) to select-window -t 1-9
bind-key -n M-0 select-window -t 0
bind-key -n M-1 select-window -t 1
bind-key -n M-2 select-window -t 2
bind-key -n M-3 select-window -t 3
bind-key -n M-4 select-window -t 4
bind-key -n M-5 select-window -t 5
bind-key -n M-6 select-window -t 6
bind-key -n M-7 select-window -t 7
bind-key -n M-8 select-window -t 8
bind-key -n M-9 select-window -t 9
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @resurrect-dir '~/.tmux/resurrect'
# tmux-continuum options
set -g @continuum-restore 'on' # auto-restore last session on tmux start
set -g @continuum-save-interval '15' # auto-save every 15 minutes
bind-key -n C-l send-keys C-l \; send-keys -R \; clear-history
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'