Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • Can you tell me how to do a "+p in notepad ? :) What you told me would work if I open another vim session and paste it there - I know that . What I wanted was a way to copy it into the Windows clipboard , which I can then paste it into notepad ! If you think I was a bit unclear, I'm being even more explicit : I'm running Win XP on my PC , and using putty to get an xterm on the remote machine , where the file is opened in vim ! Commented Dec 9, 2009 at 10:29
  • In the notepad you do paste. I'm not sure exactly how it works on windows, but on unices it yanks stuff into "system" selection. I'd guess that one of those will do that on windows as well. It also depends on the Xserver implementation on the windows and how it handles selection. I can only give you a vim-related part of the answer. Commented Dec 9, 2009 at 11:08
  • 1
    Thats what I wanted to convey : yanking text to system buffer does not put it in the windows clipboard , and hence I can't paste it anywhere. I guess the answer , if it exists , would involve setting some putty/X configurations to ensure vim has a way of putting text in the windows clipboard. Commented Dec 9, 2009 at 14:06
  • I'm not quite sure I understand what your setup it. You mention both putty and xterm. Does it mean that you run local X-server, connect to the machine using putty and then using putty's tunnel open xterm on your local X-server? If so, then you should look into your X-server settings. I haven't seen windows X-server for about 10 years now... ;-) Commented Dec 9, 2009 at 20:17
  • 1
    Ah, so you don't use xterm, you use putty and hope it will behave like xterm. Which may be possible, but it's beyond my expertise. I'd look for putty options. Not sure if there are any of interest... Commented Dec 10, 2009 at 8:07