VSCodeVim / VSCodeVim/Vim

Register Preview Popup on '"' / '<C-r>' Like registers.nvim

Open
#9,988 0 comments 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 always frustrated when I need a different register than ", but I don't know the contents of all registers.

The solution I'd like is a tversteeg/registers.nvim-like experience where upon pressing " in normal/visual mode, or <C-r> in insert mode, VS Code's selector menu thing showing the contents of :reg automatically pops up, then pastes when:

  • pressing the register's key
  • using the arrows then pressing enter
  • <C-n>/<C-p> then releasing CTRL

The workflow without this feature/plugin is to paste the default register, undo, :reg<CR>, <ESC>, then either "0p/<C-r>0 (provided 0 is the register required).

VSCodeVim ships with the (togglable) functionality of a few very useful plugins, like ReplaceWithRegister, surround and visualstar. This could be another one.

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 locating the existing register handling and keybinding paths for normal, visual, and insert modes, then inspect how a VS Code selector menu can display :reg contents. Done means the popup opens for " and , supports register-key, arrow/Enter, and / selection, and pastes the chosen register.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.