macvim-dev / macvim-dev/macvim
Right-scrolling makes the text bounce back
未关闭
还没有人认领这个 Issue。
- 主要语言
- Vim Script
- 星标
- 7.9k
- 派生
- 691
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.

贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
复现 issue 中描述的触控板行为,并使用附带的屏幕截图作为回弹效果的参考。跟踪 MacVim 对水平滚动的处理,找出为什么到达最右侧后文本又会向左移动。完成的标准是继续向右滚动时 buffer 能稳定停留在行尾,不再反复回弹。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos, vim
- 领域
- desktop
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100