-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.tmux.conf
51 lines (39 loc) · 1.28 KB
/
.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
45
46
47
48
49
50
51
###########################
# Configuration
###########################
# use vim key bindings
set -g mode-keys vi
set -g status-keys emacs
# enable mouse
set -g mouse on
# enable automatical restore of environment
set -g @continuum-restore 'on'
#set -g @continuum-boot 'on'
#set -g @continuum-boot-options 'alacritty,fullscreen'
# vim, programs for continuum
#set -g default-terminal "xterm-256color"
set -g default-terminal "screen-256color"
set -sa terminal-features ',*256col*:RGB'
#set -ga terminal-overrides ',*256col*:Tc'
#set -ag terminal-overrides ",xterm-256color:RGB"
# Gapless windows index, so newly created ones appear in the end
set -g renumber-windows on
###########################
# Key Bindings
###########################
# tmux prefix
unbind C-b
set -g prefix C-a
bind-key -n S-Left previous-window
bind-key -n S-Right next-window
###########################
# Plugins
###########################
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-sessionist'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'