Keep WheelUp from entering copy-mode. I'd rather the wheel work in vim.
This commit is contained in:
parent
45fdd465df
commit
9b8adea3df
|
@ -65,8 +65,8 @@ set-option -g pane-active-border-style fg=cyan,bright
|
||||||
set-option -g pane-border-style fg=colour8
|
set-option -g pane-border-style fg=colour8
|
||||||
|
|
||||||
# Enable mouse scroll up to enable copy mode and start scrolling
|
# 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 WheelUpPane select-pane -t= \; send-keys -M
|
||||||
bind -n WheelDownPane select-pane -t= \; send-keys -M
|
bind -n WheelDownPane select-pane -t= \; send-keys -M
|
||||||
set-option -g mouse on
|
set-option -g mouse on
|
||||||
|
|
||||||
# Use C-a,Shift-R to reload configuration
|
# Use C-a,Shift-R to reload configuration
|
||||||
|
|
Loading…
Reference in New Issue