-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
89 lines (62 loc) · 2.15 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
# truecolors
set -as terminal-features ",xterm-256color:RGB"
# address vim mode switching delay (http://superuser.com/a/252717/65504)
set -g escape-time 1
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# vim scroll binds
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send -X begin-selection
bind-key -T copy-mode-vi V send -X select-line
set -g @catppuccin_window_tabs_enabled on
# Plugin manaager
set -g @plugin 'tmux-plugins/tpm'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
#run '~/.tmux/plugins/tpm/tpm'
# thanks https://github.com/theteachr/.settings/blob/marks/.tmux.conf :)
# Status Bar {{{
set -g status-left-length 32
set -g status-right-length 150
set -g status-interval 5
set -g status-justify left
set-window-option -g window-status-separator ''
# Default Colors
set-option -g status-style fg=white,bg="#181616" # dragonBlack3
# Glyphs {{{
lsemi="" # \ue0b6
rsemi="" # \ue0b4
rtri="" # \ue0b0
ltri="" # \ue0b2
rfire="" # \ue0c0
lfire="" # \ue0c2
rcut="" # \ue0bc
rcut="" # \ue0be
# }}}
rglyph=$rtri
lglyph=$ltri
# Kanagawa
# dragonBlack3
black="#181616"
# dragonWhite, dragonBlack5
set-window-option -g window-status-format "#[fg=$black,bg=#393836]$rglyph #[fg=#c5c9c5]#I:#W #[fg=#393836,bg=$black]$rglyph"
# active window title colors
set-window-option -g window-status-current-format "#[fg=$black,bg=yellow]$rglyph #I:#W #[fg=yellow,bg=$black]$rglyph"
# pane border colors
set-window-option -g pane-active-border-style fg="#b6927b" # dragonOrange
set-window-option -g pane-border-style fg=black
# message text
set-option -g message-style bg=$black,fg=white
# pane number display
set-option -g display-panes-active-colour blue
set-option -g display-panes-colour yellow
# clock
set-window-option -g clock-mode-colour brightyellow
# dragonOrange
tm_session_name="#[default,bg=#b6927b,fg=$black] #S #[fg=#b6927b,bg=$black]$rglyph"
set -g status-left "$tm_session_name"
tm_date="#[fg=blue]$lglyph#[default,bg=blue,fg=$black] %R #[fg=$black]$lglyph#[bg=$black]"
tm_host="#[fg=red]$lglyph#[fg=$black,bg=red] #h "
set -g status-right "$tm_date$tm_host"
# }}}