File is edited with random edits when pressing 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
File is edited randomnly when pressing k.
To Reproduce
Steps to reproduce the behavior:
- Open any file
- Navigate through the file as usual (h, j, k, l) (normal mode of course)
- Press j,k,h or l (at some moment ... it's random)
Expected behavior
The cursor moves up and down in the file and the file contents remain intact.
Screenshots
Environment (please complete the following information):
- Extension (VsCodeVim) version: v1.28.1 (latest at this point)
- VSCode version: 1.94.2
- OS: Windows_NT x64 10.0.19045
Context
I have not done any modifications to my keyboard settings latetly nor any modifications regarding VSCode configuration. This started happening yesterday, or the day before that. I also have Emacs installed and there I see no issues in using jkhl.
Also VSCode interrupts breifly before the strange edit happens. Like it jamms breifly. I see this because I'm in the middle of moving the cursor.
I use autohotkey for some time now. I see autohotkey aggravates this issue but it still happens without using autohotkey.
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
Start by reproducing the report in VSCodeVim v1.28.1 with VS Code 1.94.2 on Windows, using h, j, k, and l in normal mode. Compare behavior with AutoHotkey disabled, then trace the key-handling path once the intermittent edit is observed. Done means navigation no longer changes file contents.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100