On Wed, 2009-06-03 at 13:21 -0400, Keith Kaple wrote:
> 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?
> 


may be of use
http://vimdoc.sourceforge.net/htmldoc/autocmd.html#gzip-example

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to