[PLUG] vim versus the clipboard

Ovid publiustemp-plug at yahoo.com
Wed Feb 23 20:50:29 UTC 2005


Google fails me again and I've done a great job of spamming this list
lately.  Thanks for your patience.

I am editing a bunch of files in vim and I need to paste the contents
into an HTML text area.  To do that I have to launch Kate or a similar
text editor to copy stuff directly to the clipboard.  This is seriously
slowing me down.

With gvim, I just did ...

  ggVG and "+y

... to copy the current buffer contents, but that doesn't work when I'm
using vim in a terminal window.  I thought the "*" buffer would work,
but it doesn't seem to.  How can I copy the current vim buffer file
contents to the clipboard (on Fedora Core 2)?

I'm hoping for something similar to "map ,cp :!pbcopy <%<CR>" on Mac OS
X.

Cheers,
Ovid

=====
If this message is a response to a question on a mailing list, please send
follow up questions to the list.

Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/



More information about the PLUG mailing list