-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
48 lines (34 loc) · 1.17 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
# set prefix to C-a
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
bind r source-file ~/.tmux.conf
# switch panes using Alt-{h,j,k,l} without prefix
bind -n M-h select-pane -L
bind -n M-l select-pane -R
bind -n M-k select-pane -U
bind -n M-j select-pane -D
# fix slow escape
set -s escape-time 0
set -g status-interval 0
# enable mouse control
set -g mouse on
set-option -g allow-rename off
set-option -g focus-events on
## fix colours
set -g default-terminal "tmux-256color"
set-option -sa terminal-overrides ',xterm-256color:RGB'
##### COLOURS
#clock
setw -g clock-mode-colour colour5
setw -g mode-style 'fg=colour1 bg=colour18 bold'
# panes
set -g pane-border-style 'fg=#ffd1dc bg=colour0'
set -g pane-active-border-style 'bg=colour0 fg=#ffa0a0'
#statusbar
set -g status-style 'bg=#8BB2C1 fg=colour137 dim'
setw -g window-status-current-style 'fg=#707078 bg=#Db5461 bold'
setw -g window-status-current-format ' #I#[fg=colour210]:#[fg=colour255]#W#[fg=colour249]#F '
setw -g window-status-style 'fg=colour9 bg=#8BB2C1'
setw -g window-status-format ' #I#[fg=colour237]:#[fg=#A04668]#W#[fg=colour244]#F '
setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold'