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

Smooth Scrolling #182

Merged
merged 3 commits into from
Aug 21, 2020
Merged

Smooth Scrolling #182

merged 3 commits into from
Aug 21, 2020

Conversation

nbelzer
Copy link
Collaborator

@nbelzer nbelzer commented Aug 11, 2020

Resolves #83.

  • Implements smooth scrolling (based on logic from sVim).
  • Adds smoothScroll: <true | false> option to configuration. By default this is set to true.
  • Adds scrollDuration: <int> option to configuration. By default this is set to a relatively speedy 25ms.

Based on my own fork of Vimari I used the custom logic found in the repo
for sVim to implement smooth scrolling. The logic is slightly adjusted
to fit the needs of Vimari (configuration options).
@nbelzer nbelzer requested a review from danielcompton August 11, 2020 12:10
@nbelzer nbelzer self-assigned this Aug 11, 2020
@nbelzer nbelzer merged commit 663c8b7 into master Aug 21, 2020
@nbelzer nbelzer deleted the 172-smooth-scrolling branch August 21, 2020 21:42
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

Successfully merging this pull request may close these issues.

Scrolling with j and k keys is not smooth.
1 participant