Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Inspecting and manipulating .tar.gz archives using Vim

Yesterday I found out about yet another Vim feature I didn’t know about previously. You can inspect the contents of .tar.gz archives and even write to files inside the archive using my favourite editor.

Simply open the archive:

vim foo.tar.gz

You’ll be presented with a list of files contained in the archive and can open any of them by moving your cursor to the corresponding line and pressing enter. Then just edit the file like you normally would and save it. The contents of the file will be saved inside of the archive just as if it where residing in a normal directory.


Inspecting and manipulating .tar.gz archives using Vim was written by Florian Beer and originally appeared on

This post first appeared on – Whatever You Do, Don't Panic, please read the originial post: here

Share the post

Inspecting and manipulating .tar.gz archives using Vim


Subscribe to – Whatever You Do, Don't Panic

Get updates delivered right to your inbox!

Thank you for your subscription