Thursday, August 11, 2016

Re: Opening file as arbitrary type

Looks like it's basically a zip archive of photos. See:

:h zip-extension

for how to make vim unzip the archive.

On 11 August 2016 at 19:04, Ven Tadipatri <vtadipatri@gmail.com> wrote:
> Hi,
> I'm trying to open a nar file with vim. When I open zip files, vim
> gives me a nice view of all the files, where I can view any of the
> entries in the zip file. Is there some way I can give a command line
> argument to vim to tell it to treat file foo.bar as a zip file? After
> opening up the nar file, I tried doing :set filetype=zip, but that
> didn't work either. Is there some command I can issue after the file
> is opened to treat the buffer contents as a viewable zip file?
>
> Thanks,
> Ven
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--

Frank

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: