VSCodeVim / VSCodeVim/Vim

Register * doesn't contain contents of PRIMARY selection

Open
#8,475 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

Steps
Select some text
Type "*p

Expected result
Pastes the selected text (i.e. it should act similar to middle click pasting the selected text)

Actual result
Pastes the contents of the clipboard (i.e. acts similar to ctrl+v)

Version: v1.25.2
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Embedder: vscode.dev

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 vscode.dev on Linux using the reported version and the "*p command after selecting text. Trace the command's register and paste handling, then verify that it pastes the PRIMARY selection rather than the clipboard contents.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.