-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
78 lines (60 loc) · 2.01 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
# remap prefix
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
set -as terminal-overrides ',xterm*:sitm=\E[3m'
set -g default-terminal "tmux-256color"
# fast pane swap
bind r source-file ~/.tmux.conf
# sometimes mouse
set -g mouse on
# No Sounds in Tmux
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 colour5
# setw -g mode-style 'fg=colour1 bg=colour18 bold'
# colors
white="#ffffff"
bg="default"
dark="default"
accent="green"
secondary_accent="colour3"
# dark="#1f252a"
soft_blue="#c4daf6"
# soft_grey="#f4f7fa"
# panes
# set -g pane-border-style "fg=${soft_blue} bg=default"
# set -g pane-active-border-style "bg=default fg=${soft_blue}"
#
# time="#[fg=blue]\uE0b6#[bg=blue]#[fg=whitk] %H:%M "
git="#(cd #{pane_current_path}; git rev-parse --abbrev-ref HEAD)"
aws="#[bg=${dark},fg=white] ${AWS_PROFILE}"
kube="#[bg=${dark}]#(/bin/zsh $HOME/.tmux/kube.tmux blue white blue)"
# date="#[fg=${secondary_accent},bg=${dark}]\uE0B6#[bg=#{secondary_accent},fg=#{white}] %m/%d "
date="#[fg=white] / %m/%d"
# statusbar
set -g status-position top
set -g status-justify centre
set -g status-style "bg=${dark}"
set -g status-left "#[bg=#{dark},fg=#{accent}]#[fg=white] #{session_name}"
set -g status-right-length 80
set -g status-left-length 80
#
set -g status-right-style bg=${bg},fg=${white}
set -g status-left-style bg=${bg},fg=${white}
#
# set -g status-right "${aws} ${kube} ${date}#[fg=#{accent},bg=#{secondary_accent}]\uE0B6#[bg=#{accent},fg=${white}] %H:%M #[fg=#{accent},bg=#{dark}]\uE0B4"
set -g status-right "${aws} ${kube} ${date} %H:%M"
set -g status-style bg=${dark}
#
#
setw -g window-status-current-style 'fg=#{accent}'
setw -g window-status-format "#I#[fg=colour237]:#[fg=default]#W#[fg=colour244]#F"
setw -g window-status-bell-style 'fg=colour255 bg=default bold'
# messages
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
# run '~/.tmux/plugins/tpm/tpm'