diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index b77c4fd..aed3d71 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -7,7 +7,7 @@ set -g prefix C-a bind C-a send-prefix # reload config file -bind r source-file ~/.config/tmux/tmux.conf \; display-message "tmux configuration reloaded" +bind r source-file ~/.config/tmux/tmux.conf \; display-message " ✱ tmux.conf is reloaded" ##################### # BEHAVIOUR # @@ -28,8 +28,8 @@ set -g status-bg black # default background colour set -g window-status-separator ' ' # status separator - space set -g status-left "" # left status bar not used -# right status bar - iso8601 date + time -set -g status-right "#[fg=black,bg=colour6] %y-%m-%d #[bg=black] #[fg=black,bg=colour4] %H:%M " +# right status bar - prefix/copy status - iso8601 date + time +set -g status-right "#{prefix_highlight} #[fg=black,bg=colour6] %y-%m-%d #[bg=black] #[fg=black,bg=colour4] %H:%M " # current window set -g window-status-current-format "#[fg=black,bg=colour4] #I #[fg=colour4,bg=colour240,bold] #W " @@ -47,6 +47,12 @@ set -g pane-border-bg colour236 # border background colour of inactive pa set -g message-fg black # foreground colour of messages set -g message-bg colour5 # background colour of messages +# prefix highlight +set -g @prefix_highlight_fg black # highlight foreground +set -g @prefix_highlight_bg colour5 # highlight background +set -g @prefix_highlight_show_copy_mode on # show when in copy-mode +set -g @prefix_highlight_copy_mode_attr fg=black,bg=yellow # copy-mode bg/fg + ##################### #TMUX PLUGIN MANAGER# ##################### @@ -54,11 +60,12 @@ set -g message-bg colour5 # background colour of messages set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.config/tmux/plugins' # list of plugins -set -g @tpm_plugins ' \ - tmux-plugins/tpm \ - tmux-plugins/tmux-yank \ - tmux-plugins/tmux-sensible \ - tmux-plugins/tmux-pain-control \ +set -g @tpm_plugins ' \ + tmux-plugins/tpm \ + tmux-plugins/tmux-yank \ + tmux-plugins/tmux-sensible \ + tmux-plugins/tmux-pain-control \ + tmux-plugins/tmux-prefix-highlight \ ' # other examples: