tag:blogger.com,1999:blog-6637736252081011583.post8787243881160634343..comments2023-10-23T11:13:47.199-07:00Comments on Daily Vim: Text Editor Tips, Tricks, Tutorials, and HOWTOs: Copy Text to OS ClipboardTravis Whittonhttp://www.blogger.com/profile/14592647486468034166noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-6637736252081011583.post-71230377852051809942009-10-08T04:17:17.384-07:002009-10-08T04:17:17.384-07:00Many thanks, no more need to run notepad when ther...Many thanks, no more need to run notepad when there's some copying to do!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-91446631717146995262009-09-05T21:50:39.897-07:002009-09-05T21:50:39.897-07:00If this isn't working in console vim, it's...If this isn't working in console vim, it's probably because xterm support wasn't compiled in. In Gentoo the USE flag is vim-with-x. After I rebuilt with that, the trick worked fine. Thanks! (I've been wondering how to do this for some time.)Emberhttps://www.blogger.com/profile/07384730628694465562noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-23722899489957410072009-07-17T16:02:54.115-07:002009-07-17T16:02:54.115-07:00thanks, this is great!
if anyone is having proble...thanks, this is great!<br /><br />if anyone is having problems getting this to work, make sure you're pressing <br /><br />1. shift and single-quote to actually enter the double-quote, then <br /><br />2. shift and equals to actually enter the plus sign, then<br /><br />3. (lowercase) y, then<br /><br />4. the usual yank commands.<br /><br />for example, if you want to copy the entire file into your clipboard, type in this order:<br /><br />gg " + y G<br /><br />this takes you to the first line of the document, then copies to the last line in the file to your clipboard. Go to text edit, notepad, etc. then ctr-vAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-1611236361538824842008-03-19T13:20:00.000-07:002008-03-19T13:20:00.000-07:00this doesn't work for me. i am on a leopard machi...this doesn't work for me. i am on a leopard machine. it would be great if it worked. thanks....joshyvhttps://www.blogger.com/profile/09462404532001932841noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-23080520744350356862008-02-28T13:32:00.000-08:002008-02-28T13:32:00.000-08:00Thank you for this information.I had also problem ...Thank you for this information.<BR/><BR/>I had also problem with my copy/paste operation between my GVIM 7 and my Windows Environment.<BR/><BR/>By insering...<BR/><BR/>set clipboard=unnamed<BR/><BR/>...in my vimrc file, I was able to play with my clipboard operation back and forth vim and windows.Unknownhttps://www.blogger.com/profile/01230916140788868011noreply@blogger.com