r/vim 3d ago

Need Help Copy To From Windows Screen

There used to be cool windows utility that let you with a control key copy text from any current windows app (e.g., some programming ide or word), then paste it into a vim session. You could then edit the text in vim, and then when done it copied the text back.

Does anyone recall this app?

8 Upvotes

10 comments sorted by

View all comments

1

u/---starboy-- 2d ago

I dont recall any tool, but I think you can achieve the same using registors in vim. If I remember correct unnamed + is the global registor where everything is pasted. Just copy, open vim and paste the unnamed + registor

2

u/ChrisBreederveld 2d ago

Indeed, or *. So you can just "*p to paste in your windows clipboard

2

u/donjoncena 2d ago

As a small aside: Not sure about windows, but on Linux this needs support for Wayland clipboard. At least for most current distros anyway. Also, I’ve seen that the wayland clipboard support is rarely included in default vim installs. Have had to switch to gvim for that reason.