macvim-dev / macvim-dev/macvim

Right-scrolling makes the text bounce back

Open
#707 5 comments 0 reactions 0 assignees View on GitHub

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.

macvim-right-scrolling-issue mov

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.