VSCodeVim / VSCodeVim/Vim

Editor freezes when trying to delete a character with `x`

Open
#9,674 0 comments 0 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
When in normal mode, hitting the x key freezes the editor. A VSCode restart is needed to get the editor to respond again.

To Reproduce
Steps to reproduce the behavior:

  1. Open a file in VSCode
  2. Hit ESC to ensure you are in normal mode
  3. Try to delete a character by hitting the x key
  4. See that no other action are possible in the editor

Expected behavior
When hitting the x key in normal mode, the character under the cursor should be deleted.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.30.1
  • VSCode version: 1.101.0
  • OS: macOS Sequoia 15.5 (Darwin arm64 24.5.0)

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

Start by reproducing the freeze in VSCode 1.101.0 with VsCodeVim 1.30.1 on macOS, using the normal-mode x command described in the issue. Trace the normal-mode key handling for x; done means the character under the cursor is deleted and the editor remains responsive.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.