Keep WheelUp from entering copy-mode. I'd rather the wheel work in vim.

This commit is contained in:
David Thurstenson 2017-04-28 15:42:55 -05:00
parent 45fdd465df
commit 9b8adea3df
1 changed files with 2 additions and 2 deletions

View File

@ -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