@@ -22,8 +22,8 @@ set-option -g renumber-windows on
22
22
set -g @plugin ' tmux-plugins/tpm'
23
23
set -g @plugin ' tmux-plugins/tmux-yank'
24
24
set -g @plugin ' tmux-plugins/tmux-sensible'
25
+ set -g @plugin ' tmux-plugins/tmux-prefix-highlight'
25
26
set -g @plugin ' christoomey/vim-tmux-navigator'
26
- set -g @plugin ' janoamaral/tokyo-night-tmux'
27
27
28
28
# Other examples:
29
29
# set -g @plugin 'github_username/plugin_name'
@@ -41,6 +41,48 @@ bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
41
41
bind ' "' split-window -v -c " #{pane_current_path}"
42
42
bind % split-window -h -c " #{pane_current_path}"
43
43
44
+ # -----------------------------------------------------------------------------
45
+ # TokyoNight Tmux Colors
46
+ # Theme: Tokyo Night
47
+ # Upstream: https://github.com/folke/tokyonight.nvim/blob/main/extras/tmux/tokyonight_night.tmux
48
+ # -----------------------------------------------------------------------------
49
+ set -g mode-style " fg=#7aa2f7,bg=#3b4261"
50
+
51
+ set -g message-style " fg=#7aa2f7,bg=#3b4261"
52
+ set -g message-command-style " fg=#7aa2f7,bg=#3b4261"
53
+
54
+ set -g pane-border-style " fg=#3b4261"
55
+ set -g pane-active-border-style " fg=#7aa2f7"
56
+
57
+ set -g status " on"
58
+ set -g status-justify " left"
59
+
60
+ set -g status-style " fg=#7aa2f7,bg=#16161e"
61
+
62
+ set -g status-left-length " 100"
63
+ set -g status-right-length " 100"
64
+
65
+ set -g status-left-style NONE
66
+ set -g status-right-style NONE
67
+
68
+ set -g status-left " #[fg=#15161e,bg=#7aa2f7,bold] #S #[fg=#7aa2f7,bg=#16161e,nobold,nounderscore,noitalics]"
69
+ set -g status-right " #[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#16161e] #{prefix_highlight} #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %Y-%m-%d %I:%M %p #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#15161e,bg=#7aa2f7,bold] #h "
70
+ if-shell ' [ "$(tmux show-option -gqv "clock-mode-style")" == "24" ]' {
71
+ set -g status-right " #[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#16161e] #{prefix_highlight} #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %Y-%m-%d %H:%M #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#15161e,bg=#7aa2f7,bold] #h "
72
+ }
73
+
74
+ setw -g window-status-activity-style " underscore,fg=#a9b1d6,bg=#16161e"
75
+ setw -g window-status-separator " "
76
+ setw -g window-status-style " NONE,fg=#a9b1d6,bg=#16161e"
77
+ setw -g window-status-format " #[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[default] #I #W #F #[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]"
78
+ setw -g window-status-current-format " #[fg=#16161e,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261,bold] #I #W #F #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]"
79
+
80
+ # tmux-plugins/tmux-prefix-highlight support
81
+ set -g @prefix_highlight_output_prefix " #[fg=#e0af68]#[bg=#16161e]#[fg=#16161e]#[bg=#e0af68]"
82
+ set -g @prefix_highlight_output_suffix " "
83
+
84
+ # -----------------------------------------------------------------------------
85
+
44
86
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
45
87
if " test ! -d ~/.tmux/plugins/tpm" \
46
88
" run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
0 commit comments