How To Diff Two Files With SSH/SCP Using VimDiff

Author: , February 3rd, 2015

vimdiff /path/to/file.css scp://yourHost.com//path/to/file.css

Editing Remote Files In GVIM With SCP

Author: , October 5th, 2010

Launch X11 and start GVIM from an xterm in the background. Then type the following into the vim window: [code]:e scp://login@remotehost/full/path/to/the/file[/code] Replace the “login” above with your username on the remote host, “remotehost” is the name or ip of the server and /full/path/to/the/file is the absolute path to the file on the remove host. When […]