-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
48 lines (40 loc) · 994 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
47
48
#{{{ Basic settings
set -g base-index 1
set -g history-limit 10000
set -g mouse on
#}}}
#{{{ Appearance
set -g set-titles on
set -g set-titles-string '[#I:#S] #W'
set -g status on
set -g status-interval 10
set -g status-keys emacs
set -g status-attr bold
set -g status-bg black
set -g status-fg yellow
set -g status-right '#[fg=black]#S #H'
#}}}
#{{{ Key bindings
set -g prefix C-x
bind x send-key C-x
setw -g mode-keys vi
bind -t vi-copy 'v' begin-selection
bind -t vi-copy 'y' copy-selection
bind C-x last-window
bind s split-window -v
bind t split-window -h
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind < resize-pane -L 5
bind > resize-pane -R 5
bind - resize-pane -D 5
bind + resize-pane -U 5
bind Space copy-mode
bind v paste-buffer
bind : command-prompt
bind r source-file ~/.tmux.conf
bind R refresh-client
bind a command-prompt -I "#W" "rename-window '%%'"
#}}}