-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
46 lines (32 loc) · 948 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# unbind default prefix and set it to Ctrl+a
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# Rather than constraining window size to the maximum size of any client
# connected to the *session*, constrain window size to the maximum size of any
# client connected to *that window*. Much more reasonable.
setw -g aggressive-resize on
#delay issues
set -sg escape-time 1
# window management
bind N new-window
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind-key H resize-pane -L 5
bind-key J resize-pane -D 5
bind-key K resize-pane -U 5
bind-key L resize-pane -R 5
bind-key , previous-window
bind-key . next-window
## splits window
bind-key | split-window -h
bind-key - split-window -v
bind-key _ split-window -v -p 20
## allow multiple begin of line
bind-key a send-key C-a
##reload tmux.conf
bind-key R refresh-client
# create dev_window layout
bind F source-file ~/.tmux/.dev.tmux.conf