Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to yank into the global register?

See original GitHub issue


I have vim mode enabled. I am trying to yank to the global register by typing `"*y``. But, it doesn’t’ seem to work. Any idea why?


Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

benhormanncommented, May 10, 2021

@banderlog The other problem, the API is asynchronous. So even with Chrome it won’t work without major changes (or constantly polling).

Paste works as “Shift+Insert, Shift+Insert” in Visual mode – first just activates insert mode.

This could be improved. It should get the event data and replace the selection. Ref vim.js#L395 If it can’t get data from the clipboard, fallback to current behaviour. It should also set the delete & last change registers.

marijnhcommented, Jul 19, 2022

The vim code is now being maintained at . If this is still important, check whether there is an issue open for it there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to yank into the global register? · Issue #6341 - GitHub
Paste works as " Shift+Insert , Shift+Insert " in Visual mode -- first just activates insert mode. But it is still more convenient...
Read more >
editor - Vim - yank into search register - Stack Overflow
After pressing / to enter a search string, you can then use Ctrl-R and then type the letter representing the register that you...
Read more >
cut copy paste - Append to register inside a global command
I've tried using the command :g/^foo/"Ad supposing each deleted line would be appended to the register a . However the command doesn't delete ......
Read more >
How to yank lines into the same register then paste into a new ...
\"mp" "Yank into register AND Paste it into a new buffer. The fix is pretty simple. Just wrap your global command in an...
Read more >
Registers | Learn Vim
If you want to add "world" into register a, you can find the text "world" and yank it using A register ( "Ayiw...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found