How to yank into the global register?
See original GitHub issueHello,
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?
Thx!
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@banderlog The other problem, the API is asynchronous. So even with Chrome it won’t work without major changes (or constantly polling).
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.
The vim code is now being maintained at https://github.com/replit/codemirror-vim/ . If this is still important, check whether there is an issue open for it there.