September 06, 2005

Vim and SCP/SFTP

This is not my content, I'm just putting it here for memory purposes, and sharing, of course

Maybe usefull for some people reading this: if you want to edit remote files using Vim or gVim over SCP, no need to use Gnome-VFS, shfs, lufs or whatever more.

:e scp://username@host/a/file/in/your/homedir

will do the job.

When using a decent .ssh/config or when you got the same username on both machines, you can omit the username part.

You should use DSA/RSA keys so you don't have to enter your password on every open/save action :-)

AFAIK tab completion is not available, which is a pitty.

End of stolen stuff

Posted by bazza at September 6, 2005 01:59 PM
Comments
Post a comment









Remember personal info?