-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmux.conf
More file actions
26 lines (19 loc) · 703 Bytes
/
tmux.conf
File metadata and controls
26 lines (19 loc) · 703 Bytes
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
# if run as "tmux attach", create a session if one does not already exist
new-session -n $HOST
# Pane switchung with ALT + Arrow
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# Copying from the terminal (like VIM)
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
# Current pane is colored magenta
set-window-option -g window-status-current-bg magenta
# Set scroll back limit to 3000 lines
set-option -g history-limit 3000
# Acticate mouse mode
set-option -g mouse on
# VIM copy mode
setw -g mode-keys vi