Loading ...
Sorry, an error occurred while loading the content.

104746Opening compressed files without .gz extension

Expand Messages
  • Keith Kaple
    Jun 3, 2009
      What is the easiest way to add a file extension so that vim sees it as a compressed file and uses the builtin ability to open compressed files?

      I'm faced with a process that produces .gzo files (gzip format) that can be opened with 'zcat foo.gzo | vim -', but seems it would be cleaner to be able to "alias" any .gzo extension to be treated as a .gz, not sure how to do that..

      Tried hacking gzip.vim plugin but couldn't get that to work. Any suggestions?



      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 4 messages in this topic