From 05171c04bbfc037cf3f1ad36010bd2666bbfbe1e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 22 Dec 2015 04:24:30 -0500 Subject: [PATCH] tmux: more distinct ssh colors + mode-mouse in tmux <=2.0 --- tmux/conf.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tmux/conf.sh b/tmux/conf.sh index 21572ec9..30f33264 100755 --- a/tmux/conf.sh +++ b/tmux/conf.sh @@ -9,7 +9,7 @@ if (( $(echo "$TMUX_VERSION >= 2.1" | bc) )); then # fix mouse scrolling: enter copy mode on scroll-up, exits it when scrolled to bottom tmux bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'" else - tmux setw -g mode-mouse + tmux setw -g mode-mouse on tmux set -g mouse-resize-pane on tmux set -g mouse-select-pane on tmux set -g mouse-select-window on @@ -50,7 +50,13 @@ then tmux set -g status-bg colour237 tmux set -g status-fg white + + tmux set -g pane-active-border-fg yellow + tmux set -g pane-border-fg colour238 else tmux set -g status-bg yellow tmux set -g status-fg black + + tmux set -g pane-active-border-fg blue + tmux set -g pane-border-fg colour237 fi