Search code examples
vimsftpnetrw

vim netrw-mc on remote filesystem


I'd like transfer file within vim netrw plugin from a remote host to my machine.

I tried to do the following:

within netrw I set a local destination directory with netrw-mt,
I connect to remote host with :e sftp://remoteuser@remotehost/path/ and with netrw-mf choose files to copy. When I hit netrw-mc for starting copy nothing happens.

Is my procedure bugged or it only works between local directories?


Solution

  • I was able make it working by using :e scp://remoteuser@remotehost/path/.

    The reason because this one worked and the :e sftp://remoteuser@remotehost/path/ did not it's a mystery on my Linux CrunchBang "Waldorf" #11 both on netrw 142 and 149.