VSCodeVim / VSCodeVim/Vim

Unable to remap d to "=d due to double quote requirement in settings.json

Open
#6,923 1 comment 1 reaction 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

I'm attempting to remap d to "_d, D to "_D, c to ="c, and C to ="C

When I edit the settings file and use before/after, I noticed I can't use single quotes to wrap the "

I also can't use nnoremap and vnoremap, so is there no way to do this?

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 remapping in settings.json using before and after, including the requested double-quote mappings. Check how nnoremap and vnoremap are handled in the VSCode Vim key-remapping entry points. Done means the requested mappings can be configured without invalid JSON or unsupported quote syntax, with the behavior verified in the extension.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.