VSCodeVim / VSCodeVim/Vim

Navigation issue - left arrow

Open
#8,595 14 comments 14 reactions 0 assignees View on GitHub

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:

  1. Have a line of text
  2. Position the cursor in the beginning of the line
  3. Go to insert mode ('i')
  4. Hit cmd - right arrow to go to the end of line
  5. Hit left arrow
  6. 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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.