Both
vim scp://remotehost///path/to/file.txt and
vim zipfile:/path/to/file.zip::path/inside/zip/file.txt work for opening either remote or a file inside zip archives.
What if one needs both at the same time?
I've tried
vim scp://remotehost///path/to/file.zip this does not open zip content as in case of local zip file.
neither of
vim zipfile:scp://remotehost///path/to/file.zip::/path/in/zip/file.txt vim scp://remotehost//zipfile:/path/to/file.zip::/path/in/zip/file.txt work
(How) is it possible to combine zipfile: and scp: in one command to open file inside the remote zip file?
vim scp://host////path/to/directoryto browse the remote directory, then use theENTERkey to select the zip file, you'd be able to edit it. Unfortunately you can edit the file in the zip file, but it seems the file that's written back to disk is corrupt as a zip file. I'm looking forward to seeing if anyone comes up with a good answer to this.vim scp://host////path/to/directory/(mind trailing slash) to browse the remote dir, select zip file and even open a file inside. Write back however fails. And the viminfo file history entry although added in formscp://host///path/to/file.zipis not re-useable.