Add cVim-like scroll easing/animation
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
One thing I miss coming from Chrome+cVim is the more fluid scrolling. See the gifs below, both using scroll half-page down/up keys:
Relevant code in cVim for easing:
https://github.com/1995eaton/chromium-vim/blob/fe60f5fa18e5f6ec379494c346127a221307aff7/content_scripts/scroll.js#L96-L98
Would be awesome if this could be added as an option in Vimium.
A little unrelated but I also like the subtle animations for link hints in cVim:
cvim_f
vimium_f
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the referenced cVim implementation in content_scripts/scroll.js, especially lines 96-98, then locate Vimium’s handlers for half-page scrolling. Define how the optional easing should behave and where the setting belongs; done means the enabled option provides fluid scrolling without changing default behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100