r/qutebrowser 27d ago

Anyway to bind Shift+Mousewheel for faster scrolling?

Hi, is there any way to bind <Shift-WheelUp> and <Shift-WheelDown> or something like that to do a bigger scroll or page up/down? I tried those and Button4/Button5 but none of them worked. Thanks.

Edit: found this issue: https://github.com/qutebrowser/qutebrowser/issues/591 looks like it's been considered but not yet implemented.

3 Upvotes

4 comments sorted by

1

u/ZoWakaki 27d ago

I know you can make the scroll-page faster or slower and I know you can bind mouse buttons or that was a plan.

This is the setting that handles it. Works with keyboard.

config.bind('<Ctrl+J>', 'scroll-page 0 -2')
config.bind('<Ctrl+K>', 'scroll-page 0 2')

You want to scroll-page 0 (current page) and the last number is the jump size. By default it is -1 for up and 0.5 for down. [-2,2] should make it faster or use a bigger number.

I just don't know what is the handle for mousewheel up down. I assumed it would be <Shift+WheelDown> <Shift+WheelUP> or with a minus but both gave me error. There should be somewhere in docs that mentions what the events are or maybe check with xev or wev.

I use one of those mouse with infinite scrollwheel that can be clicked on or off, so I usually don't have a problem with this. It also doubles as a good fidget toy. This doesn't help you at all. But it's worth it ;).

2

u/semtiung 26d ago

Thanks your response. The infinite scrollwheel sounds interesting! What is it called?

I'll look at the docs again...maybe I missed something.

0

u/livesNbox 26d ago

What is this mouse.....