VSCodeVim / VSCodeVim/Vim

In insert mode Ctrl+r "register number" does not do the paste

Open
#8,174 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
In insert mode, if I use Ctrl+r "register number" it does not paste the text from the register. even if that value is present in the register and could see present in the register by using the register command.

To Reproduce
Steps to reproduce the behavior:

  1. install vim
  2. select a "yiw" to copy to register 0
  3. go to insert mode
  4. press ctrl+r 0

Expected behavior
it should paste the content from the register

Log
Did not generate a log when I pressed the keys

image

  • Extension (VsCodeVim) version: v1.24.3
  • VSCode version: 1.74.0(User setup)
  • OS: Windows 11

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

Reproduce the issue in VSCodeVim using the reported steps: yank text with "yiw", enter insert mode, and press Ctrl+r followed by 0. Start by tracing the insert-mode register handling and verify that register 0's contents are inserted as expected in VS Code.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
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.