2 ms·
Do what makes you happy, but just in case you weren't aware, vim supports editing over SSH natively, so there's not really a need to skimp just because you need
by JulianWasTaken 4y ago
Do what makes you happy, but just in case you weren't aware, vim supports editing over SSH natively, so there's not really a need to skimp just because you need to edit files remotely, you can use your local machine's setup to edit remote files. The SCP incantation is `vim scp://user@myserver[:port]//path/to/file.txt`, or see `:h netrw` or various tutorials you'll be able to find.
- immigrantheart 4y agoOoh I didn’t know this. Thank you.
- ronyclau 4y agoTwo suggestions: 1. Prefer sftp over scp whenever it's available. The scp protocol is pretty obsoleted. Just substitute `scp` with `sftp` in the command. 2. Turn on ssh multiplexing to drastically shorten the wait time when opening a file.