On 23/07/09 10:00, David Chanters wrote:
[...]
>>> 2.  I have:
>>>
>>> set wh=99999 wmh=0
>>>
>>> in my ~/.vimrc already.  If I start Vim like this:
>>>
>>> vim ./file1.c ./file2.c ./file3.c
>>>
>>> ... and then do:
>>>
>>> :all
>>>
>>> Vim complains about "not enough room".  Is there anyway to fix this?
>>> (i.e., if I do ":all", I'd like to see all my windows)
>>
>>         vim -o3 file1.c file2.c file3.c
>
> If I do that, then vim shows statuslines for:
>
> filea
> fileb
>
> But not for filec -- which is odd.

What is your 'laststatus' setting? If zero, the bottom window won't have 
a status line. (I use 2). Otherwise, I don't know what hit you.

>
>> or (untested)
>>         vim file1.c file2.c file3.c
>>         "then
>>                 :all 3
>>         "or
>>                 :3all
>>
>
> Alas, this didn't work either.  Is there something else we might be
> able to try?  It seems to me to be quite important.  :)
>
>>
>>>
>>> It would also be nice if there was some way of toggling between ":all"
>>> and a rolodeck.  Is that possible?
>>
>> not sure what you mean. Could you elaborate?
>>
>> Do you mean opening all windows the same size vs. opening the current one
>> full-size? see
>>         :help Ctrl-W_=
>>         :help Ctrl-W__
>>         :help 'equalalways'
>
> Hmm:
>
> * "Ctrl-W_" incremented the size of the window each time by a little bit.
> * "Ctrl-W__" didn't do anything that I could see.
> * "Ctrl-W_=" didn't set the size of all windows (c.f. equalalways).

^W= should make all windows equal, ^W_ should swell the current window 
to full size. The 'equalalways' setting should come into play as soon as 
you create od delete a window. I use either

        :set ea wh-1 wmh=0
for "all windows equal" or
        :set noea wh=99999 wmh=0
for "current window full-size" (permanently); in the former case I may 
hit ^W_ to expand the current window temporarily and ^W= to make them 
all equal again.

What I gave in my former post were help tags (as you should type them as 
arguments to the ":help" command; I should have written CTRL- in all 
caps but what I wrote, with Ctrl-, also works for me); here I'm using 
the other notation with ^W meaning "hit Ctrl-W". What do you mean by 
"Ctrl-W_" and "Ctrl-W__"?

>
> I must be missing something here -- and all of this is with
> "--no-plugins" just in case I had something affecting this.

If you want to suppress plugins, it's --noplugin (in one word and with 
no s at the end). But they oughtn't to mess up your split-windows setup. 
You might try -u NONE -N which suppresses not only plugins but also your 
own vimrc, or -u something.vim -N which sources something.vim _instead_ 
of your vimrc.

>
>> Amazing things can be done, just by browsing randomly through the Vim help
>> with a crazy imagination. (Edison once said: All one needs to be an inventor
>> is a good imagination and a pile of junk.) (The Vim help isn't what I would
>> call junk, it's just a huge pile of stuff that an inventor might find
>> interesting ;-) )
>
> :)
>
> David
>

Best regards,
Tony.
-- 
When you have an efficient government, you have a dictatorship.
                -- Harry Truman

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

Reply via email to