Cursor can't move after moving in git diff editor
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
Cursor can't move after moving in git diff editor
To Reproduce
Steps to reproduce the behavior:
- change a file and open the diff editor
- hidden unchanged regions
- make sure the first line is not 1
- type
ggto move to the first line, and typekto move up - then the cursor can't move again with any motion, even if in other files
Expected behavior
it should work
Screenshots
If applicable, add screenshots to help explain your problem.
If remapping-related, please attach log output: https://github.com/VSCodeVim/Vim#debugging-remappings.
Environment (please complete the following information):
- Extension (VsCodeVim) version:
- VSCode version:
- OS:
Additional context
Add any other context about the problem here.
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 issue in the VSCodeVim extension using a Git diff editor with unchanged regions hidden, ensuring the first line is not 1. Follow the gg then k motion sequence and verify whether subsequent motions remain blocked, including in another file; done means cursor movement works normally after this sequence.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100