Commit | Line | Data |
---|---|---|
b4b35f2f | 1 | set -g mouse on |
59f0d218 | 2 | set -s escape-time 0 |
fd2712d3 FF |
3 | |
4 | # Version 2.1 of tmux removed mouse wheel scrolling support by default, | |
5 | # but these two lines from https://github.com/tmux/tmux/issues/145 add it back: | |
6 | 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'" | |
7 | bind -n WheelDownPane select-pane -t= \; send-keys -M |