Vimr: scrolling with trackpad too sensitive

Created on 27 Nov 2017  路  18Comments  路  Source: qvacua/vimr

On Macbook Pro trackpads, using the two finger scrolling gesture to navigate up and down the page is too fast. It becomes very hard to be precise. There should be a setting which allows user customization of the sensitivity.

Most helpful comment

The slider on the minimum setting are still too fast

All 18 comments

Or just use system default? That seems to work pretty well for everything else on macOS.

if you mean the 'tracking speed' in system preferences, it does not affect the scroll speed for me. it's still too fast. only the mouse cursor is moving around more slowly. once i start scrolling with 2 fingers, it's crazy fast again.

No, I mean I have the same problem as OP, it's too fast. But every other app on my Mac behaves well without configuring each of them. So the I would specify the problem as "make vimr scroll equally fast as other apps"

i have found the actualy scroll speed setting under 'Accessiblity' -> 'Mouse and Trackpad'. so yes, VimR should honor this setting, it does not at the moment.

It was my hope that VimR would offer scrolling more akin to Sublime, but it is not. Actually, VimR's scrolling is really really slow compared to Sublime. You have to go nuts on the mouse to scroll down.

not sure about an external mouse, but the internal trackpad is way to sensitive.

@minusf are you aware of the Mouse Options... menu under System Prefs > Accessibility > Mouse & Trackpad? It has a slider for scrolling speed.

have you read the whole thread? the trackpad speed settings have no effect in VimR... at least not for me.

VimR does not use the standard scroll mechanism of macOS, but has got a custom one due to neovim's UI binding structure. The tuning will be implemented eventually. :)

I have noticed the same problem on my laptop.
However, things are way worse with a magic mouse, it requires a tremendous effort to be a magic mouse with vimR.

Couldn't one use the macOS mechanism to smooth out the signal before passing it to the custom mechanism?

Try https://github.com/qvacua/vimr/releases/tag/snapshot%2F263 and open the Advanced preferences. There's a slider to set the sensitivity.

The slider doesn't seem to be changing the scroll speed for me, which is still way too fast. Let me know if how I can help with more information.

Version 0.24.0 (282)
Macbook Pro 13" Early 2011
macOS High Sierra 10.13.5

almost the same as @ekstasis but on an iMac with an external Apple trackpad connected. scrolling is always too fast even at the leftmost setting, but the speed does change a little bit when the slider is used.

For me on a iMac, with a magic mouse, it is still way too fast.
On a newer macbook pro, things work fine

there is a simple logic to the scrolling normalization on trackpads that is used on native apps AFAIK. namely, the page should scroll by the same distance that the cursor would have moved with the same gesture in non-scroll mode. that way, one gets the illusion of moving the page by putting a finger on it an moving a piece of paper over the desk.

The slider on the minimum setting are still too fast

@qvacua you might be able to use an invisible scroll view without any content displayed, just to get the scroll offset and forward that to nvim. That should give you nice native-feeling scrolling regardless of whether the user is using a mouse, trackpad or whatever. Apple have actually shown similar things in WWDC sessions to get native scrolling behaviour into OpenGL games on iOS.

Yes its still very fast. If you leave the window open the slider seems to affect the speed but then it reverts back after a few seconds. It's like the slider works 10% of the time and then its way way too fast

Was this page helpful?
0 / 5 - 0 ratings