On 10/9/06, Suresh Govindachar <[EMAIL PROTECTED]> wrote:

Hello,

  At present, I copy remote directories using
  the following one-line command:

     c:\opt\putty\PSCP.EXE -r  -v -l the_user -pw the_password 
111.11.11.111:/home/suresh/examples/mcf/vmul .

  How do I set-up netrw to edit a file such as
  111.11.11.111:/home/suresh/examples/mcf/vmul/the_file.c ?
  And what command do I use inside gvim?

  Note:  I am on Windows XP, remote machine is linux.
         Pscp.exe is not in my path.

I think you do
   let g:netrw_scp_cmd="c:/path/to/pscp.exe -l user -pw password -q -batch"
in vimrc, then
   vim scp://hostname/path/to/file

See :help netrw-pscp

Yakov

Reply via email to