Dear Tony,

I think you should use netrw in order to open your remote file.
Details with
:h netrw
and especially
:h netrw-read

I might be mistaken though..

Best!
Asis

2011/1/3 Tony Mechelynck <[email protected]>

> On 03/01/11 08:45, Tony Mechelynck wrote:
>
>> On 02/01/11 19:05, Bastian Venthur wrote:
>>
>>> Hi,
>>>
>>> when I log into a remote machine with ssh -X and start a local gvim
>>> session, i can see the local gvim with:
>>>
>>> u...@remote$ gvim --serverlist
>>> GVIM
>>>
>>> To control that it is really my local gvim session, I repeat it after
>>> closing the local gvim and the serverlist is empty.
>>>
>>> when I want to open a remote file with the --remote option
>>>
>>> u...@remote$ gvim --remote test.py
>>>
>>> an empty file gets loaded in my local gvim. Is this a bug? If not, is
>>> there a similar way to edit remote files locally? I know that it's
>>> possible to use :e scp:u...@remote/path/to/file but I find it more
>>> convenient to call vim direclty within the remote filesystem.
>>>
>>>
>>> Cheers,
>>>
>>> Bastian
>>>
>>>
>>>
>> T'ain't a bug, it's a feature:
>>
> [...]
>
> Oh, and I'm not sure of the difference between ssh -X (untrusted X11
> forwarding) and ssh -Y (trusted X11 forwarding).
>
>
> Best regards,
> Tony.
> --
> Winter is the season in which people try to keep the house as warm as
> it was in the summer, when they complained about the heat.
>
> --
> 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
>



-- 
Asis Hallab
Rothehausstr. 6 - 12
50823 Köln

Skype: asis.hallab.cgn
Fest (Köln) 42346046
Mobil  (O2) 0176 63370211
Fax 01212 - 5 - 30697106

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

Reply via email to