Skip to content

Cursor jitter when pressing a (append) command #9761

@ddadon10

Description

@ddadon10

Describe the bug
The cursor intermittently jitters/jumps when pressing a. The cursor seems to briefly moves to the wrong position before settling into the correct insert position. This does not occurs all the time, but enough to be distracting while typing.

To Reproduce
Steps to reproduce the behavior:

  1. Open a new text file
  2. Add some text (e.g: "The quick brown fox jumps over the lazy dog")
  3. Put the cursor to a character (e.g: p)
  4. Press a, if the issue does not appear, press a multiple time

Expected behavior
Smooth cursor movement to append position (like the i command)

Screen Recordings
Screen recording of the issue:

VsCodeVimACommandIssue.mov

Screen recording of the behavior with cursorSmoothCaretAnimation set to on:

VsCodeVimACommandIssueSmooth.mov

Environment:

  • Extension (VsCodeVim) version: 1.30.1
  • VSCode version: 1.104.1 (Stable), 1.105.0 (Insider)
  • OS: macOS 15.7 (24G222)

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions