Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scroll-step-mouse and scroll-hstep-mouse option #694

Open
dirichy opened this issue Nov 1, 2024 · 0 comments
Open

Add scroll-step-mouse and scroll-hstep-mouse option #694

dirichy opened this issue Nov 1, 2024 · 0 comments

Comments

@dirichy
Copy link

dirichy commented Nov 1, 2024

I want to use both mouse and keyboard to scroll.
When I set scroll-step big, scrolling with my mouse is too fast, while when I set scroll-step small, scrolling with my keyboard is too slow.

I tried to use keymap to solve this, such as

set scroll-step 1
map j feedkeys "100<Down>"

This can work with both keyboard and mouse, but when I type "100j", it will be so slow.
I guess the count of a command is not just re-feedkeys in the basic layer, so aftering mapping it's just re-feeding and very slow.

I have two possible method to solve this, the first one is in the title.
The second one is that we can add a count argument in scroll command, so I can use

map j scroll down 100

or something like this.

I love this pdf-viewer very much and I hope it can be better, thank you for your work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant