Feb
25
Vim and SCP/SFTP
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.
Comments:
Comment from: Ciaran O'Riordan [Visitor] · http://www.compsoc.com/~coriordan/
When you edit remote files with emacs, you get tab completion
Permalink
05/29/05 @ 00:50