Charles E. Campbell, Jr. schrieb: > Gary Johnson wrote: >> On 2009-02-12, Tony Mechelynck <[email protected]> wrote: >> >> >>> And then there are people like me who can un- .zip files if they have >>> to, but prefer to gunzip them (un- .gz), which is the Unix standard (as >>> opposed to the Microsoft Megabucks LoseDough standard). And note that if >>> the right tools are present (gunzip in the $PATH), a compressed vimball >>> (*.vba.gz) will (if I'm not mistaken) be handled by Vim just as easily >>> as an ordinary one. >>> >> Yes, it will, except that when you open the gzipped file with >> >> vim someplugin.vba.gz >> >> the original file is automatically gunzipped and replaced by the >> gunzipped version, e.g., somefile.vba. I wish the vimball plugin >> wouldn't do that. If I'm going to keep the archive around for a >> while, I'd rather keep it in its gzipped form. Besides, I should be >> able to use vim to just look at a file without modifying it. >> > The reason why it does that: one can't source a buffer, and one can't > source a compressed file. > > Regards, > Chip Campbell
The question is, why vimballs have to be :sourced at all. A vimball archive file is not a vimscript. ":so %" is only needed to execute ":UseVimball". So why aren't the user instructions "Execute :UseVimball to extract this file" It would make things much easier and all this ugly unpacking trouble could be avoided. -- Andy --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
