statusline option can be different for different windows. I believe you have done something wrong
>autocmd! WinLeave * setlocal statusline< btw..to restore string options you need to do setlocal statusline= > then I got 'xyz' in the message list, but ':echo &l:statusline' still > shows nothing and the statusline was in no way updated. How can I > change this? isn' t this ':echo &l:statusline' throwing error? Regards, Sarath --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
