-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
146 lines (125 loc) · 5.38 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
#{{{
set -g mouse on
#set -g default-terminal "screen-256color"
set-option -g default-command bash
set -g mode-keys vi # Use vi keys in copy mode
set -g history-limit 500 # increase scrollback buffer size
# Vim style pane selection
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# address vim mode switching delay
set -s escape-time 0
# refresh 'status-left' and 'status-right' more often
set -g status-interval 5
# increase scrollback buffer size
set -g history-limit 50000
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"
# Reload tmux config
bind r source-file ~/.tmux.conf
#}}}
## DARK THEME {{{
##-------------------
#
## # loud or quiet?
#set -g visual-activity off
#set -g visual-bell off
#set -g visual-silence off
#setw -g monitor-activity off
#set -g bell-action none
#
# # modes
#setw -g clock-mode-colour colour82 # C-b enter tmux command mode, type clock-mode to display big clock in pane
#setw -g clock-mode-style 12
#setw -g mode-style 'fg=colour233 bg=colour250 bold' #tmux selection color
#
# # panes
##set -g pane-border-style 'fg=colour238 bg=#262626' #split panel boder color
##set -g pane-active-border-style 'bg=#262626 fg=#588E25'
#
#set -g pane-border-style 'fg=colour238 bg=#333333' #split panel boder color
#set -g pane-active-border-style 'bg=#333333 fg=#588E25'
#
# # statusbar dark theme
#set -g status-position bottom
#set -g status-justify centre # left right centre
#set -g status-left '#[fg=white, bg=colour233, bold] #S ' # replace S with H to get pc name
#set -g status-right '#[fg=colour255, bg=colour233 bold] %I:%M%p ' # %A %d %b %Y
#set -g status-right-length 20 # letter counts
#set -g status-left-length 50
#
#setw -g status-style 'bg=colour234 fg=colour99 dim' # purple violet
#setw -g window-status-separator '' # character will be purple violet color
#
#setw -g window-status-current-style 'fg=colour82 bg=colour232 bold' # window index number color
#setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour252]#W#[fg=colour233]#F '
#
#setw -g window-status-style 'fg=colour10 bg=colour233' # inactive window index number colors
#setw -g window-status-format ' #I#[fg=colour250]:#[fg=colour250]#W#[fg=colour10]#F '
#setw -g window-status-bell-style 'fg=colour226 bg=colour1 bold'
#
# # messages, tmux command box color
#set -g message-style 'fg=colour255 bg=colour40 bold' #}}}
# DARK THEME Black {{{
#-------------------
# # loud or quiet?
set -g visual-activity off
set -g visual-bell off
set -g visual-silence off
setw -g monitor-activity off
set -g bell-action none
# modes
setw -g clock-mode-colour colour76 # C-b : enter tmux command mode, type clock-mode to display big clock in pane
setw -g clock-mode-style 12
setw -g mode-style 'fg=colour233 bg=colour250 bold' #tmux selection color
# panes
set -g pane-border-style 'fg=colour64 bg=#111111' #split panel boder color
set -g pane-active-border-style 'bg=#111111 fg=colour76'
# statusbar dark theme
set -g status-position bottom
set -g status-justify centre # left right centre
set -g status-left '#[fg=white, bg=colour233, bold] #S ' # replace S with H to get pc name
set -g status-right '#[fg=colour255, bg=colour233 bold] %I:%M%p ' # %A %d %b %Y
set -g status-right-length 20 # letter counts
set -g status-left-length 50
setw -g status-style 'bg=colour234 fg=colour99 dim' # purple violet
setw -g window-status-separator '' # character will be purple violet color
setw -g window-status-current-style 'fg=colour82 bg=colour232 bold' # window index number color
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour252]#W#[fg=colour233]#F '
setw -g window-status-style 'fg=colour10 bg=colour233' # inactive window index number colors
setw -g window-status-format ' #I#[fg=colour250]:#[fg=colour250]#W#[fg=colour10]#F '
setw -g window-status-bell-style 'fg=colour226 bg=colour1 bold'
# messages, tmux command box color
set -g message-style 'fg=colour255 bg=colour40 bold' #}}}
# Light Theme {{{
# modes
#setw -g clock-mode-colour colour82 # C-b enter tmux command mode, type clock-mode to see big clock in pane
#setw -g clock-mode-style 12
#setw -g mode-style 'fg=colour233 bg=colour250 bold' #tmux selection color
#
## panes
#set -g pane-border-style 'fg=colour40 bg=#eeeeee' # inactive split panel boder color
#set -g pane-active-border-style 'fg=colour28 bg=colour255'
#
## statusbar light theme
#set -g status-position bottom
#set -g status-justify centre # left right centre
#set -g status-left '#[fg=colour245, bg=colour253, bold] #S ' # replace S with H to get pc name
#set -g status-right '#[fg=colour245, bg=colour253 bold] %I:%M%p ' # %A %d %b %Y
#set -g status-right-length 20 # letter counts
#set -g status-left-length 50
#
#setw -g status-style 'bg=colour251 fg=colour245 dim' # middle bar bg color
#setw -g window-status-separator '' # character will be purple violet color
#
#setw -g window-status-current-style 'fg=colour40 bg=colour254 bold' # window index number color
#setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour242]#W#[fg=colour246]#F ' # 0:bash* something like this
#
#setw -g window-status-style 'fg=colour10 bg=colour252' # inactive window index number colors
#setw -g window-status-format ' #I#[fg=colour250]:#[fg=colour250]#W#[fg=colour10]#F '
#setw -g window-status-bell-style 'fg=colour226 bg=colour1 bold'
#
## messages, tmux command box color
#set -g message-style 'fg=colour255 bg=colour40 bold' #}}}