On 15-Oct-09 13:46, mobi phil wrote: >> get over it :-) You must have a pretty advanced Vim setup (I have, too), so >> you >> should be used to those kinds of workarounds, anyway. Your proposed >> b:statusline >> syntax is a kind of mixture of setting and buffer-variable, and would be very >> confusing to Vim users. >> >> -- cheers, ingo >> -- >> -- Ingo Karkat -- /^-- /^-- /^-- /^-- /^-- /^-- http://ingo-karkat.de/ -- >> -- http://vim.sourceforge.net/account/profile.php?user_id=9713 -- >> > > Thanks Ingo, > > fair enough. I tried prev. setlocal, but I had the impression it would > not work for statusline... > but it works... great.. However.... > it seems to be local to the buffer at the end, as I do the following > experiment > > setlocal statusline=ThisIsMyNiceLine:%F:EndOfIt > > for buffer X. Then I itarete through the buffers with :bn, and it > seems that buffer X has > remembered its statusline, and is not using the statusline of the > window... Or I mix up sthg?
Yes, the behavior is complex and often unintuitive. See :help local-options for the gory details... -- cheers, ingo --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
