-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
39 lines (31 loc) · 906 Bytes
/
.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
unbind C-b
# last laststatus=2
set-option -g prefix C-a
bind-key C-a send-prefix
bind-key C-a last-window
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind s split-window -v
bind v split-window -h
set -g base-index 1
set -g status-left-length 20
set -g status-right-length 20
set -s escape-time 0
set -g focus-events on
# setw -g mouse on
set -g mouse on
# plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrent'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-resurrect'
run '~/.tmux/plugins/tpm/tpm'
set-option -g default-terminal "screen-256color"
# Plugin/tmux-resurrent
set-option -g @resurrent-save 'S'
set-option -g @resurrect-restore 'R'