Sunday, June 27, 2010

Re: How to copy and paste in vim by ssh to another machine

On 2010-06-28, robert song wrote:
> Hi, everyone.
>
> If I ssh to another machine, and run the vimx on that machine, I can't
> find a way to copy and paste the words by keyboard between the remote
> vimx and local vimx.
> For example, on the remote vimx, I can't add the selected words to
> clipboard by "+y.
>
> Is there anyway to do the work?

I think you can do this by running an X server on the local machine,
then enabling X forwarding when you establish the ssh connection
with either the -X or -Y options. I haven't actually done this,
though.

Regards,
Gary

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

No comments:

Post a Comment