-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
54 lines (42 loc) · 1.08 KB
/
.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
47
48
49
50
51
52
53
54
# ----------------------------------------
# options
# ----------------------------------------
# prefix
set-option -g prefix C-z
unbind-key C-b
bind-key C-z send-prefix
# history buffer
set-option -g history-limit 30000
# repeat time
set-option -g repeat-time 50
# status bar
set-option -g status-interval 1
set -g status-left "[#H# ]"
set -g status-left-length 40
set -g status-right "%Y/%m/%d %H:%M:%S"
set -g status-style bg=blue,fg=green
set -g status-left-style fg=cyan
set -g status-right-style fg=cyan
# pane
set -g pane-active-border-style fg=blue
set -g pane-border-style fg=blue
# vi-style controls for copy mode
setw -g mode-keys vi
# ----------------------------------------
# key binds
# ----------------------------------------
# horizonal split
bind-key | split-window -h
# vertical split
bind-key - split-window -v
# move to pane
unbind l
bind-key -r k select-pane -U
bind-key -r j select-pane -D
bind-key -r h select-pane -L
bind-key -r l select-pane -R
# resize pane
bind-key -r < resize-pane -R 10
bind-key -r > resize-pane -L 10
# kill all panes
bind-key ! kill-pane -a