On Tue, Mar 17, 2009 at 12:41, Yakov Lerner <[email protected]> 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

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

Raspunde prin e-mail lui