@conorh `vim foo.txt.gz` transparently decompresses the file, then recompresses on save. `vim bar.tar.gz` or `vim baz.zip` shows a list of the files in the archive, so you can choose which ones to edit tranparently.