-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtmux-Linux.conf
35 lines (28 loc) · 1005 Bytes
/
tmux-Linux.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
#bind c run "tmux save-buffer - | pbcopy-remote"
#bind C-v run "tmux set-buffer $(pbpaste-remote); tmux paste-buffer"
#set -g set-titles on
#set -g set-titles-string "#T"
#unbind =
#bind = select-layout tiled
# swapwindow
bind Left swap-window -t -1
bind Right swap-window -t +1
# Set vi copy mode
set-window-option -g mode-keys vi
bind-key y copy-mode
bind D source-file ~/dotfiles/tmux/mylayout
##############################
### TPM ###
##############################
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set-option -g history-limit 50000
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]/user/plugin'
# set -g @plugin '[email protected]/user/plugin'
#set -g @yank_selection 'primary' # or 'secondary' or 'clipboard'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'