macvim-dev / macvim-dev/macvim
Right-scrolling makes the text bounce back
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 7.9k
- Forks
- 691
- PR merge metrics
- No merged PRs in 30d
Description
When a buffer is horizontally scrolled to the right with the trackpad, as soon as the end of the line is reached the text bounces back to the left. If one keeps scrolling, the text bounces back repeatedly. Would it be possible to make it more stable, i.e., when the far right is reached, the text should not move?
I attach a screenshot to illustrate the issue.

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
Reproduce the trackpad behavior described in the issue and use the attached screenshot as the reference for the bounce. Trace MacVim's horizontal scrolling handling to find why reaching the far right moves the text left again. Done means continued rightward scrolling leaves the buffer stable at the line end without repeated bouncing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, vim
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100