Skip to content

Motion keys don't work after exiting visual mode #9999

@samu

Description

@samu

Describe the bug
When exiting visual mode, the first press of a motion key has no effect. Only after the first press, motions continue to work as usual.

To Reproduce
Steps to reproduce the behavior:

  1. Select some text in visual mode
  2. Escape visual mode
  3. Hit a motion key like J
  4. Cursor doesn't move
  5. Hit motion key again
  6. Cursor now moves

Expected behavior
Cursor should move the first time.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.32.4
  • VSCode version: 1.118.1
  • OS: macOS 26.4.1
Screen.Recording.2026-05-03.at.08.35.18.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions