Discussion:
[tmux:tickets] #190 how to mousewheel trigger copy-mode and scroll in latest master
Rafi B.
2015-04-23 09:04:59 UTC
Permalink
---

** [tickets:#190] how to mousewheel trigger copy-mode and scroll in latest master**

**Status:** open
**Labels:** mouse
**Created:** Thu Apr 23, 2015 09:04 AM UTC by Rafi B.
**Last Updated:** Thu Apr 23, 2015 09:04 AM UTC
**Owner:** nobody

On latest master, 2.0, mouse support has changed and allows custom mouse bindings as keys. The defaults are great, and once in copy-mode, mousewheel scrolls very smoothly.
However, I'm missing the event where one is NOT in copy-mode and the WheelUp/Down used to immediately go into copy-mode and start scrolling up/down.

I've tried:
`tmux bind-key -n WheelUpPane if-shell -Ft= "#{pane_in_mode}" "" "copy-mode"`

But then scrolling up/down becomes quite choppy, less responsive from before.


---

Sent from sourceforge.net because tmux-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/tmux/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/tmux/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Loading...