VSCodeVim / VSCodeVim/Vim

Typying quotes in normal mode inserts them

Open
#9,676 6 comments 2 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

Noticed this today on VSCode v1.101.0

When in normal/visual/command/search mode when I type " or ' they are inserted.

So, given the sample text bellow, with the cursor in the middle of the word "sample"

This is a sam|ple text with "some 'quotes in' it" 

When I try to delete/select/go until/to the quote, <Esc>dt", <Esc>/", ...

It inserts the quote:

This is a sa"ple text with "some 'quotes in' it" 

This is just an example for double quotes, everything involving these 2 chars, even <C-r>"/<C-r>' inserts them


Ubuntu v24.04
VSCode v1.101.0
VSCodeVim v1.30.1


Update:
Tried VSCode/VSCodium v1.100 and no bug, working as expected.
Tried VSCode/VSCodium v1.101 and the bug appears. So The problem seems to be v1.101

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 quote insertion with VSCode/VSCodium 1.101 using the listed normal, visual, command, and search sequences, then compare the same cases on 1.100. Trace the key handling involved in those modes and confirm that typing or using Ctrl-R with single and double quotes no longer inserts them into the text.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
desktop, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.