blob: 8e1fa677252d387ba80e261b5ee9a60eb88f4f0f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Use <C-a> instead of the default <C-b> as Tmux prefix
set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# Mouse support disabled, depends on tmux version
#set -g mouse-utf8 on
#set -g mouse on
bind -n WheelUpPane copy-mode
# Act more like vim:
set-window-option -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
unbind p
bind p paste-buffer
bind -t vi-copy v begin-selection
bind -t vi-copy y copy-selection
|