From 90f4b25381a399489b6a0b14b4fdcd2aeced7e1a Mon Sep 17 00:00:00 2001 From: Stefan Friese Date: Thu, 15 Feb 2024 17:20:01 +0100 Subject: [PATCH] added active window bg color, set window vi mode --- tmux/.tmux.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index dbb32db..ffc8221 100755 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -38,8 +38,24 @@ set -g status-interval 30 set -g status-left "#[fg=$thm_green]Session #S #[fg=$thm_black4]▶ #[fg=$thm_magenta]Pane #I #[fg=$thm_black4]▶ #[fg=$thm_yellow]Window #P #[fg=$thm_black4]| #[fg=$thm_red]" set -g status-bg $thm_gray set -g status-fg $thm_orange + +# Set bg color of active window +set -g window-active-style bg=$thm_gray + set-window-option -g window-status-current-style bg=$thm_black4 # set -g status-right "#(battery -t) #[fg=cyan] %d %b %R " set -g message-style fg=$thm_black4,bold,bg=$thm_green set -g pane-border-style fg=$thm_$thm_black4,bg=$thm_black set -g pane-active-border-style fg=$thm_yellow,bg=$thm_black + +################################################################################ +# +# Copy mode (vi) +# +# Ctrl + [ to enter tmux vi copy mode +# Move around with vim navigation keys +# Begin highlight with Space +# Copy with Enter +# Paste with Ctrl + ] +################################################################################ +set-window-option -g mode-keys vi