From 7c438bb8296a31b51f9cda36556dbb9f48ed42ab Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 4 Feb 2019 17:15:31 +0100 Subject: [PATCH] Add tmux prefix highlight; remove tmux autostart --- .tmux.conf | 9 ++++++++- .zshrc | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 61e0194..0f17440 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -62,8 +62,15 @@ bind-key C-x kill-window set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-pain-control' +set -g @plugin 'tmux-plugins/tmux-prefix-highlight' +set -g @plugin 'tmux-plugins/tmux-yank' +set -g @plugin 'Morantron/tmux-fingers' + +# custom right bar uses powerline/default/blue as base, adds bind-key indicator (prefix_highlight) +# to use it go to your theme and disable the right status bar (by commenting it out) +set -g status-right "#{prefix_highlight} #[fg=colour235,bg=colour233]#[fg=colour240,bg=colour235] %H:%M:%S #[fg=colour240,bg=colour235]#[fg=colour233,bg=colour240] %d-%b-%y #[fg=colour245,bg=colour240]#[fg=colour232,bg=colour245,bold] #H " + set -g @plugin 'jimeh/tmux-themepack' set -g @themepack 'powerline/default/blue' run -b '~/.tmux/plugins/tpm/tpm' - diff --git a/.zshrc b/.zshrc index 1388342..728ac93 100644 --- a/.zshrc +++ b/.zshrc @@ -4,7 +4,7 @@ setopt correct # turn off the infernal correctall for filenames unsetopt correctall -ZSH_TMUX_AUTOSTART=true +#ZSH_TMUX_AUTOSTART=true POWERLEVEL9K_MODE='nerdfont-complete' #POWERLEVEL9K_SHORTEN_DIR_LENGTH=1