forked from lianglia-apollo/autosetup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
28 lines (25 loc) · 782 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
#install plugins: git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
#run C-k + I to install plugin
#set -g default-terminal "screen-256color"
set -g default-terminal "xterm"
unbind C-b
set -g prefix C-k
bind C-k send-prefix
setw -g mode-keys vi
unbind [
bind Escape copy-mode
unbind p
bind p paste-buffer
bind -t vi-copy 'v' begin-selection
bind -t vi-copy 'y' copy-selection
set -g @continuum-restore 'on'
set -g @shell_mode 'vi'
set -g @yank_selection 'primary'
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-copycat'
#no more configure after the following line
run '~/.tmux/plugins/tpm/tpm'