If I’m reading this right, it’s “open a local vi(m) on a remote file”, by invoking a remote command. Is that right?
I’m wondering how it’s different in effect to just using
vim sftp://host/path/to/fileI’m wondering how it’s different in effect to just using
vim sftp://host/path/to/file vi
Invokes gvim on your workstation,
passing it an scp://... URL of
the file(s) you wish to edit
So it's just a more convenient way to launch local vim, doing something you could do manually.suvi is neat, and bcp seems like something that I'd actually use.
https://github.com/grantm/bcvi
But it's not a single consolidated script.