-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
62 lines (50 loc) · 1.55 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
55
56
57
58
59
60
61
62
# rebind prefix to C-a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
unbind K
bind K confirm-before "kill-window"
# force 256 colors support
set -g default-terminal "screen-256color"
#set -ga terminal-overrides ",screen-256color:Tc"
# NOTE about colors - you can see them by running
#
# for i in {0..255} ; do
# printf "\x1b[38;5;${i}mcolour${i}\n"
# done
#
# in console.
# Source: http://superuser.com/a/285400
# don't wait for esc/meta-key sequence
set -sg escape-time 0
# autorename windows
set -g automatic-rename on
# prefix hightlight colors
set -g @prefix_highlight_fg 'blue'
set -g @prefix_highlight_bg default
# status bar content
set -g status-interval 2
set -g status-left "#[fg=colour222] #S #[fg=default]"
set -g status-right " #{prefix_highlight} "
set -g status-left-length 50
set -g status-right-length 50
set -g status-justify left
# status bar styling
set -g status-style bg=colour235
set -g status-style fg=colour7
set -g window-status-current-style fg=colour81
set -g window-status-format "#[fg=colour7,bg=default] #I: #W "
set -g window-status-current-format "#[fg=colour7,bg=colour23] #I: #W "
# show activity in other windows
setw -g monitor-activity on
set -g visual-activity on
# messages
set -g display-time 800
set -g message-style bg=colour235 # orange
set -g message-style fg=colour80
# panes
set -g pane-border-style fg=colour8 # dark grey
set -g pane-active-border-style fg=colour7 # light grey
# pane number display
set-option -g display-panes-active-colour colour166 #orange
set-option -g display-panes-colour colour7 # light grey