> I think that I was not clear enough. I don't want to remap > Ctrl-V. What I want is to copy something to the clipboard while I > am using Vim. In this case, I want to use the normal Vim commands > for copying to the clipboard. For example: > > "*yy > > Then, I will go to another application. Say, I will go to gedit. > While using gedit, I want to paste the contents of the clipboard > (that I put there using "*yy while I was in Vim) into the gedit > text. From gedit, I want to paste using Ctrl-V, instead the > central whell of the mouse. It seems that Vim "*yy command has > access to the central wheel clipboard, but not to the Ctrl-V > clipboard. I want to know which command give access to the Ctrl-V > clipboard.
Ah, then you want the "+ register. On X systems (Linux, BSD, etc), there are two clipboards[*], one is the "primary selection" clipboard, accessed with "* as you mention. This is the one that is also fed by selecting things in a terminal and retrieved by using the middle-mouse. The other is the "clipboard" clipboard (I can't say I care much for the terminology, but that's history for you). This one is accessed with vim's "+ register and is usually what other applications access when doing a cut/copy/paste that you're used to. I've just taken to using "+ almost all the time on all platforms, since that's *usually* what I mean, unless it's a rare time I want to convert a primary-selection to a clipboard-selection, in which case it's often easiest for me to do that with vim: :let @+=@* Hope that makes better sense of it, -tim [*] my understanding is that there are multiple selection clipboards, but that just about no apps actually use it -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
