Hari Krishna Dara wrote:

Netrw comes with a few supported formats, and the format is deduced by
the extension of the file, which is fair, but is there anyway to
configure netrw such that it will recognize new extensions as one of the
supported filetypes? E.g., there are several archives that are
compatible/same as zip archives, except for extra metadata attached
them. The jar, ear, war, and the Flex archives (forgot what the
extension is), they are all zip archives, so I want netrw to treat them
that way.

If, on the other hand, you're not really talking about netrw, but about the zip plugin -- presumably
just include in your <.vimrc> a line such as:

au BufReadCmd *.jar,*.ear,*.war call zip#Browse(expand("<amatch>"))

Regards,
Chip Campbell

Reply via email to