-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
54 lines (41 loc) · 1.63 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
# vim bindings.
setw -g mode-keys vi
# Allow for copy-pasting with mouse.
# setw -g mode-mouse on
# Disable automatic renaming.
setw -g automatic-rename off
# Old theme.
# source-file "${HOME}/.tmux-themepack/basic.tmuxtheme"
# source-file "${HOME}/.tmux-themepack/simplegray.tmuxtheme"
# THEME.
# For colors, see https://superuser.com/questions/285381/how-does-the-tmux-color-palette-work
# Status update interval
set -g status-interval 1
# Basic status bar colors
set -g status-fg colour242
set -g status-bg colour235
# Left side of status bar
set -g status-left-style bg=default,fg=default
set -g status-left-length 40
set -g status-left "#[fg=colour245,bold] Session: #[fg=colour250]#S "
# Right side of status bar
# set -g status-right-bg colour233
# set -g status-right-fg colour243
# set -g status-right-length 150
# set -g status-right "#[fg=white,bg=colour235] %H:%M:%S #[fg=white,bg=colour240] %d-%b-%y #[fg=colour245,bg=colour240]#[fg=colour232,bg=colour245,bold] #h "
# set -g status-right "#[fg=colour245,bg=colour240]#[fg=colour232,bg=colour245,bold] #h "
# Window status
set -g window-status-format " #I|#W#F "
set -g window-status-current-format " #I|#W#F "
# Current window status
set -g window-status-current-style bg=colour239,fg=colour178
# Window with activity status
set -g window-status-activity-style bg=colour245,fg=colour233 # a bug in tmux
# Window separator
set -g window-status-separator ""
# Window status alignment
set -g status-justify left
set-option -g default-terminal "xterm-256color"
# Neovim compatibility
# (https://github.com/neovim/neovim/wiki/FAQ#esc-in-tmux-or-gnu-screen-is-delayed).
set -sg escape-time 10