thanks!

On Wed, Dec 18, 2013 at 4:00 AM, ping song <[email protected]> wrote:

> you are absolutely right...
> vim -p seems the best option available ..(-o/O doesn't look good for files
> more than 3..).
>
> now the file toggling is MUCH faster, so only 1 time slow on start up and
> all other later operation is fast. great !
>
>
> On Tue, Dec 17, 2013 at 3:21 PM, Ben Fritz <[email protected]>wrote:
>
>> On Tuesday, December 17, 2013 2:19:45 PM UTC-6, Ben Fritz wrote:
>> >
>> >
>> > With default settings Vim will discard the buffer text and re-read it
>> the next time you visit the buffer.
>> >
>> >
>> >
>> > If you set the 'hidden' option then Vim keeps the buffer contents in
>> memory instead. This is mostly designed to let you keep unsaved changes
>> around when you switch buffers, but it also means Vim doesn't need to
>> re-read the file when you're just switching between unmodified buffers.
>> >
>> >
>> >
>> > And naturally, since you're relying on autocmds to "read" the file by
>> decompressing it, it's going to take a bit longer to load these compressed
>> files than if you had loaded a plaintext file.
>>
>> Other options include opening the files in separate windows or tabs
>> instead of switching between buffers. Then the initial startup may take
>> longer because every file must be read, but afterwards switching between
>> them should be nigh instantaneous.
>>
>> So instead of "vim *.gz" try "vim -o *.gz", "vim -O *.gz", or "vim -p
>> *.gz".
>>
>> --
>> --
>> 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 [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to