On 22/07/09 14:09, David Chanters wrote:
> Hi --
>
> 2009/7/20 Tony Mechelynck<[email protected]>:
>> Normally the current window uses the StatusLine highlight group for its
>> status bar, all others use the StatusLineNC group. Setting these is
>> normally the job of your colorscheme.
>
> Thanks -- that's all dusted now.
>
> I do have some other questions regarding your rolodeck behaviour:
>
> 1. When using:
>
> set wh=99999 wmh=0
>
> ... And having opened several :split windows, when I focus some of
> them, the "closed" window statuslines move to the top of Vim -- is
> there anyway to keep them all at the bottom?
No. Just like in a "real" Rolodesk, the pages before the current one
have their labels (statuslines) at the top, and the ones after the
current one, at the bottom.
You could reorder your split-windows by means of Ctrl-W <something> or
":wincmd <something>" commands, maybe in a WinEnter autocommand, but
that would be like reordering the file cards in your Rolodex every time
you used them so that the last-used one came first -- untidy. Imagine a
telephone directory in the order
Jones
Smith
McCoy
Aaronson
Zwingli
rather than
Aaronson
Jones
McCoy
Smith
Zwingli
just because the latest three numbers you looked up were McCoy, Smith
and Jones in that order.
>
> 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
or (untested)
vim file1.c file2.c file3.c
"then
:all 3
"or
:3all
>
> Indeed, in addition to that, can I also so:
>
> vim ./file1.c ./file2.c ./file3.c
>
> ... and have all my split windows seen as a rolodeck? At the moment,
> I am having to do:
>
> vim ./file1.c
>
> And then within that do:
>
> :new file2.c
> :new file3.c
>
> ... which is annoying, especially if I have already opened these files
> on the command line.
see above
>
> 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'
>
> I sound like I am asking for lots here -- apologies. I just like the
> idea of it.
>
> Many thanks,
>
> David.
>
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 ;-) )
Best regards,
Tony.
--
Conscience is the inner voice that warns us somebody is looking
-- H. L. Mencken
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---