Friday, June 6, 2014

Re: vim: how to copy selected text from vim running inside a remote ssh session, to local windows clipboard

Not sure if I understand the problem correctly, but if are using
something like putty for ssh, you should be able to highlight the text
and paste into outlook, etc..., simply highlighting should make it
available on the clipboard.
Chandra

On 06/07/2014 12:29 AM, Ben Fritz wrote:
> On Thursday, June 5, 2014 11:03:49 PM UTC-5, ping wrote:
>> experts:
>> not sure this was asked before...
>> I run ssh into remote pc(linux) from local PC (windows),
>> run vim from within ssh
>> then select some text from vim
>>
>>
>>
>> now I want to paste these text into local clipboard (so I can paste into outlook, etc).. is there any good way to implement this?
>> I currently rely on dropbox to sync all change and open the file with notepad...but really want to know of any other better solutions..
> You can run an X server on your Windows machine. For example: Xming, X-Win32, something in Cygwin, Xceed, and I'm sure there are others. Then you just need a Vim running on your server with X clipboard support (or run gvim).
>

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: