vim editing over ssh or sftp Enero 25, 2008
Posted by abaqueiro in sftp, software.trackback
Esto me parece interesante, con mas calma lo voy a traducir, por ahora para tener un recordatorio de como editar con vim archivos remotos usando ssh, sin embargo no parece funcionar adecuadamente, si alguien sabe porque no dude en ayudarnos.
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.
Comentarios»
No comments yet — be the first.