-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tmux.conf
More file actions
45 lines (37 loc) · 988 Bytes
/
Copy path.tmux.conf
File metadata and controls
45 lines (37 loc) · 988 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# remap prefix to Control + a
unbind C-a
unbind C-b
set -g prefix C-q
bind C-q send-prefix
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
# Mouse mode controls, on by default
set -g mode-mouse on
set -g mouse-select-pane on
set -g mouse-resize-pane on
set -g mouse-select-window on
bind m \
set -g mode-mouse on \;\
set -g mouse-resize-pane on \;\
set -g mouse-select-pane on \;\
set -g mouse-select-window on \;\
display 'Mouse: ON'
bind M \
set -g mode-mouse off \;\
set -g mouse-resize-pane off \;\
set -g mouse-select-pane off \;\
set -g mouse-select-window off \;\
display 'Mouse: OFF'
# quick pane cycling
unbind ^A
bind ^A select-pane -t :.+
# use vim arrow to select pane
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# This has other effect maybe, now to allow move cursur using ctrl+arrow
set-window-option -g xterm-keys on
# Center the window list
set -g status-justify centre