Support fast scrolling using a modifier key
See original GitHub issueDownstream: https://github.com/microsoft/vscode/issues/78431
VS Code has a setting editor.fastScrollSensitivity
which multiplies the scroll speed when a particular modifier is down. This should be pretty easy to implement, we need to think about how the API should look. We probably need a number for the multiplier and an enum for which modifier (see https://github.com/microsoft/vscode/pull/78555).
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Faster scrolling with modifier - Feature Requests - BetterTouchTool ...
Hello. Is there a way to temporarily increase the scroll speed when you hold down a modifier? Years and YEARS ago I had...
Read more >Change Zoom settings for accessibility on Mac - Apple Support
Choose the modifier key to press and hold to zoom while scrolling: Control, Option or Command. Zoom style. When you zoom using a...
Read more >Scroll smarter - Macworld
A handy related feature is the ability to temporarily increase scrolling speed by holding how the modifier key of your choice. (You can...
Read more >The Quick Trick for Magnifying Your Mac's Screen
Magnify Mac Screen. Open System Preferences > Accessibility > Zoom Select “Use scroll gesture with modifier keys to zoom” Choose which modifier ...
Read more >Lists and grids | Jetpack Compose - Android Developers
We can make the Column scrollable by using the verticalScroll() modifier. ... The key's type must be supported by Bundle , Android's mechanism...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I made a pull request for this feature. I hope I did it the right way.
@csurquin sure, this is a good one as it’s pretty well defined. You should be able to find all the places you need to add a setting for by following one of the existing settings, eg.
https://github.com/xtermjs/xterm.js/blob/a89771a8de58fbc7a82323fb7d6d9c421ef63535/src/common/services/OptionsService.ts#L25
I think these are only the places where the scroll would need to be multiplied:
https://github.com/xtermjs/xterm.js/blob/a89771a8de58fbc7a82323fb7d6d9c421ef63535/src/browser/Viewport.ts#L171-L209