summaryrefslogtreecommitdiff
path: root/tmux/.tmux.conf
blob: ff6881fab44848492ef00892c73aa9b50519182b (plain)
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
# act like vim
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+

# act like GNU screen
unbind C-b
set -g prefix C-a

# look good
set -g default-terminal "screen-256color"

# status
set -g status-left-length 32
set -g status-right-length 150
set -g status-fg white
set -g status-bg colour234
set -g window-status-activity-attr bold
set -g pane-border-fg colour245
set -g pane-active-border-fg magenta
set -g message-fg colour16
set -g message-bg colour221
set -g message-attr bold
set -g status-left ''
set -g status-right '#[underline]#[fg=colour235,bg=colour13,bold] #S'
set-option -g set-titles on
# #H  Hostname of local host
# #I  Current window index
# #P  Current pane index
# #S  Session name
# #T  Current window title
# #W  Current window name
# ##  A literal ‘#’
set -g set-titles-string '#T -- #W'
set-window-option -g automatic-rename on
set-option -g status-interval 1
set-option -g status-utf8 on
set-window-option -g utf8 on