On Fri, 13 Oct 2006 at 3:16pm, Charles E Campbell Jr wrote:
> 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
Right, I somehow thought netrw is the one doing that. Thanks for the
information on how to do this with the zip plugin.
--
Thanks,
Hari
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com