I got this command from SHELL-FU.ORG. This is going to make my life easier since I spend so much time hopping between platforms and servers.
You can directly edit a file on a remote host with the following:
vim scp://username@host//path/to/file
From what I’ve seen of the comments to this post on shell-fu.org, this only works with vim, and only if it has the netrw plugin installed. Most distros have this plugin installed by default though. I guess there is always a catch but, if it works it’s a cool shortcut!



