Cursor line flickers when using motions `j` and `k`
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
When using motions with j and k the cursor line very clearly flickers. Previous to today, there was no flicker when using motions to move cursor line.
To Reproduce
- Position cursor line at top of editor with at least 30 lines of code
20j20k- Go to line 2, repeat going up and down.
You should observe the cursor line flickering as it transitions 20 lines up, and 20 lines down.
Expected behavior
It should simply "jump" to the mentioned line, there should be no transition or movement.
Environment
VS Code version: Code 1.30.2 (61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8, 2019-01-07T22:48:31.260Z)
OS version: Darwin x64 17.7.0
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 flicker in VS Code using the reported 20j and 20k motions with at least 30 lines visible, then trace the j/k motion handling and cursor-line transition behavior. Done means repeated upward and downward motions jump directly to the target line without flickering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100