On 19/03/09 13:08, Yakov Lerner wrote:
>
> On Tue, Mar 17, 2009 at 12:41, Yakov Lerner<iler...@gmail.com>  wrote:
>> We have separae highlighting,  StatusLineNC, for non-current.
>> I wish I had different *format*, too,  for noncurrent statusline. I do not
>> think differnt format for non-current statusline is supported.
>> Is it possible to put this request in todo. Thanks.
>
> Found how to make it in current vim.
> Sorry for the noise.  Took me time to figure it, works fine.
>
> let&statusline="Your favourite statusline"
> let  g:Active_statusline=&g:statusline
> let g:NCstatusline = "%<%F"    " non-current statusline
> au WinEnter * let&l:statusline = g:Active_statusline
> au WinLeave * let&l:statusline = g:NCstatusline
>
> Yakov

Wow! Hadn't realized it was global-local. :thumbsup:

Best regards,
Tony.
-- 
"Terence, this is stupid stuff:
You eat your victuals fast enough;
There can't be much amiss, 'tis clear,
To see the rate you drink your beer.
But oh, good Lord, the verse you make,
It gives a chap the belly-ache.
The cow, the old cow, she is dead;
It sleeps well the horned head:
We poor lads, 'tis our turn now
To hear such tunes as killed the cow.
Pretty friendship 'tis to rhyme
Your friends to death before their time.
Moping, melancholy mad:
Come, pipe a tune to dance to, lad."
                -- A. E. Housman

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

Raspunde prin e-mail lui