VSCodeVim / VSCodeVim/Vim

How do I remap vim.replaceWithRegister to something other than gr?

Open
#5,009 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/remap kind/feature
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Is your feature request related to a problem? Please describe.
I use gr keybinding as go to references for word under the cursor. This is what I've been using since long in vim as well. So I do want to use vim.replaceWithRegister, but want to reassign the key binding to something else.

Describe the solution you'd like
A way to define key-binding for vim.replaceWithRegister instead of default gr.

Describe alternatives you've considered
None

Additional context
Add any other context or screenshots about the feature request here.

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 tracing the vim.replaceWithRegister command and its default gr keybinding in the VS Code Vim extension. Done means users can configure a different keybinding while retaining the existing go-to-references behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Feature
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.