chrisbra/SudoEdit.vim — Issue #4: Support for "sudo" via netrw's scp method
Author: blueyed
Created: 2011-11-29 12:00:22+00:00
State: open

When trying to ":SudoWrite" a file opened via the netrw plugin (e.g. "scp://host//etc/fstab"), it fails as follows:

Error detected while processing function SudoEdit#SudoDo:
line 17:
There was an error writing the file!

It would be great if SudoWrite could manage this by e.g. logging in via "ssh" and copy/write the file using `sudo` from there.