I use Vim as my basic text editor in Linux. Today I downloaded a zip file with wget and it downloaded very quickly. I assumed it just saved an error page (as it sometimes does). My first idea to check the error message was vim ScrewTurnWiki-1.0.11-Precompiled.zip and it gave me this:
A list of all the files in the zip. If I moved the cursor to a filename and hit enter, it opened the file. It appears that I can edit the file :wq
I really didn’t expect that. I figured it would give me a bunch of unprintable garbage if it tried to open a binary file like that. I thought it was cool and just thought I’d share.
Duh! That’s true and really practical…sometimes
Thanks
Pingback: VIM: Modifier un fichier directement dans une archive ZIP | Blogue ≈ Geek