News for hackers. Stuff that matters.
Re:Pasting in command line Vim doesn't have to suck by irahul on Tuesday May 10, 2011 @11:11AM (#2532725)
As mentioned elsewhere, if your vim is compiled with clipboard support(:version and look for +clipboard), you can copy/paste from the clipboard.

* is the Linux selection register.

+ is your clipboard.

So yanking is just set paste, "+y or " * y, set nopaste. Similarly you can do a "+d in vim and ctrl-v it in your browser or anywhere you can access the clipboard. You can " * d/" * y and paste it with your middle mouse button.

There are no comments on this comment yet.