From 9b8adea3df7219021f49a34d704803ba126774f7 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Fri, 28 Apr 2017 15:42:55 -0500 Subject: [PATCH] Keep WheelUp from entering copy-mode. I'd rather the wheel work in vim. --- .tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index e2fb4aa..18263e0 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -65,8 +65,8 @@ set-option -g pane-active-border-style fg=cyan,bright set-option -g pane-border-style fg=colour8 # Enable mouse scroll up to enable copy mode and start scrolling -bind -n WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M -bind -n WheelDownPane select-pane -t= \; send-keys -M +bind -n WheelUpPane select-pane -t= \; send-keys -M +bind -n WheelDownPane select-pane -t= \; send-keys -M set-option -g mouse on # Use C-a,Shift-R to reload configuration