Navigation issue - left arrow
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
In recent VSCode update, the behaviour of left arrow in insert mode has changed.
Verified it on two separate installations.
To Reproduce
Steps to reproduce the behavior:
- Have a line of text
- Position the cursor in the beginning of the line
- Go to insert mode ('i')
- Hit cmd - right arrow to go to the end of line
- Hit left arrow
- The cursor goes back to the beginning of the line
Expected behavior
The cursor should move 1 character to the left (not to the beginning of the line, or position from where we moved with cmd-right arrow).
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.26.0
- VSCode version: 1.82.2
- OS: macOS Ventura
Downgrading to VsCodeVim 1.25.2 fixes the issue.
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 cursor behavior in VSCodeVim 1.26.0 with VSCode 1.82.2 on macOS using the listed steps, then compare it with VSCodeVim 1.25.2. Trace the handling of Cmd+Right followed by Left in insert mode; done means Left moves one character rather than returning to the line start or the previous position.
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