VSCodeVim / VSCodeVim/Vim

Mouse scrolling does not bring cursor

Open
#873 17 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/enhancement
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

If you scroll down or up past the cursor, the cursor is still left where it was, so if you press it will jump.

The cursor should stay at the top or bottom of the window when you scroll paste the current viewable area.

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

Start by reproducing the mouse-scrolling behavior in VS Code with the VSCodeVim extension, then trace the extension's handling of mouse scrolling and cursor position. Done means scrolling beyond the visible area leaves the cursor at the top or bottom of the window, and pressing Esc no longer causes an unexpected jump.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.