Jürgen Krämer <[email protected]> [09-06-15 20:33]: > > > Hi, > > [email protected] wrote: > > > > is it possible to have two different formatted statuslines simultaneously > > visible for two different files? > > yes. > > > And -- if yes -- how? > > Use > > :setlocal statusline=... > > instead of > > :set statusline=... > > Regards, > Jürgen > > -- > Sometimes I think the surest sign that intelligent life exists elsewhere > in the universe is that none of it has tried to contact us. (Calvin) > > Hi Juergen,
thank you for your help ! :) my plan is to do the following In my colorscheme file: let g:myactivestl='foo bar gnu gnats' let g:mypassivestl='far goo snagts' in my .vimrc file: au WinEnter let &statusline=g:myactivestl au WinLeave let &statusline=g:mypassivestl You wrote that there is a 'setlocal' and a 'set' I scanned the helps but didn't find any equivalent of this for the "let"-command? Am I lost? ;) (OK, it would possible to assign the complete statusline from a string instead of a variable, but this makes splitting things in .vimrc and colorscheme a little odd...) Kind regards, mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
