-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_tmux.conf
64 lines (48 loc) · 1.87 KB
/
dot_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
# Dracula Colours
# background_color '#282a36'
# current_line_color '#44475a'
# foreground_color '#f8f8f2'
# comment_color '#6272a4'
# cyan '#8be9fd'
# green '#50fa7b'
# orange '#ffb86c'
# pink '#ff79c6'
# purple '#bd93f9'
# red '#ff5555'
# yellow '#f1fa8c'
# royal blue #4169e1
# cornflower blue #6495ed
# dodger blue #1e90ff
# steelblue #4682b4
# https://en.wikipedia.org/wiki/Web_colors
set-option -g mouse on
set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
bind b set-window-option synchronize-panes
set -g default-terminal "screen-256color"
# Let programs like Neovim set the terminal title
# set -g set-titles on
# pane border
set -g pane-border-style fg='#6272a4'
set -g pane-active-border-style fg='#ff79c6'
# message text
set -g message-style bg='#44475a',fg='#8be9fd'
set -g status-style bg='#44475a',fg='#bd93f9'
set -g status-interval 10
# status left
# are we controlling tmux or the content of the panes?
set -g status-left '#[bg=#f8f8f2]#[fg=#282a36]#{?client_prefix,#[bg=#ff79c6],} ☺ '
# are we zoomed into a pane?
set -ga status-left '#[bg=#44475a]#[fg=#ff79c6] #{?window_zoomed_flag, ↕ , }'
# window status
set-window-option -g window-status-style fg='#bd93f9',bg=default
set-window-option -g window-status-current-style fg='#ff79c6',bg='#282a36'
set -g window-status-current-format "#[fg=#44475a]#[bg=#bd93f9]#[fg=#f8f8f2]#[bg=#bd93f9] #I #W #[fg=#bd93f9]#[bg=#44475a]"
set -g window-status-format "#[fg=#f8f8f2]#[bg=#44475a]#I #W #[fg=#44475a] "
# status right
set -g status-right '#[fg=#4169e1,bg=#44475a]#[fg=#44475a,bg=#4169e1] #{hostname_ssh} '
set -ga status-right '#[fg=#6495ed,bg=#4169e1]#[fg=#44475a,bg=#6495ed] #(uptime | cut -f 4-5 -d " " | cut -f 1 -d ",") '
set -ga status-right '#[fg=#44475a,bg=#6495ed]#[fg=#f8f8f2,bg=#44475a] %a %H:%M:%S #[fg=#f8f8f2]%Y-%m-%d '
# increase scrollback buffer size
set -g history-limit 50000