Fix mouse support for tmux 2.2

main
Steffen Rademacker 8 years ago
parent 9484cce5e0
commit a815e86d9d

@ -55,7 +55,6 @@ bind -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
# Mouse support
set -g mouse-utf8 on
set -g mouse on
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'"
bind -n WheelDownPane select-pane -t= \; send-keys -M

Loading…
Cancel
Save