On 08/02/07, Albie Janse van Rensburg <[EMAIL PROTECTED]> wrote:
> Hi, thank for answers. I'm not at work now so I can only try on > Windows with putty term branched on a CentOS server > > paste from windows to vim is never a problem, but I can't make it from > vim to outside. For this to work, you will have to check with putty how to get data into the windows clipboard. It's not a Vim function, which is running inside the ssh/telnet session you are using. > > gg"+yG doesn't seem to yank anything
My bad: it yanks something
> ggVG"+y or ggVG"*y yanks something but I don't get it with ctrl-v > V enters visual mode, and according to the vim help it automatically copies into the PRIMARY buffer (x11 has 3 clipboards). Try using gg"*yG when you get a chance - it copies the entire text into the x11 PRIMARY buffer, and is faster than using V, which has graphical implications. Note again, this will probably not work when using putty for you terminal, but then again, it might, if you get your settings right.
I double checked the many options of my putty but didn't find anything... Anyway, I don't need that much pasting to windows apps, and I'll check the gg"*yG on my office computer tomorrow (I'm in China time). Thanks again. Guillaume
