2

Suppose, I have a .jar file a.jar, which I can view via vim a.jar, giving a list of the content like:

a1.txt
a2.txt
b.jar

I can press enter and load the content of each file; however, for .jars inside this archive, I am more interested in the content listing than the binary content. In this case, I want enter to show me a similar view of b.jar, rather than it's binary content.

In other words, how can I show list of files of nested .jar files in vim?

0

.jar files are essentially zip files (you'll probably have noticed the " zip.vim version vxx banner at the top of the buffer). There are a few plugins which aim to help open nested zips, so you could try one (vim-rzip, for example) as a possible fix.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.