Specifically, switching buffers (eg via C-^ or with bufexplorer) nukes the powerline scheme. cargo-cult fixes eg remove 'hi clear' from your theme aren't working for me. It seems most people are using a vim in iTerm2 instead of Macvim, and possibly the problem occurs in Macvim generally (eg https://github.com/Lokaltog/vim-powerline/issues/82).
Thoughts?
I do, all the time… (well, also in iTerms, but more often in gui_macvim)
> Specifically, switching buffers (eg via C-^ or with bufexplorer) nukes the powerline scheme. cargo-cult fixes eg remove 'hi clear' from your theme aren't working for me. It seems most people are using a vim in iTerm2 instead of Macvim, and possibly the problem occurs in Macvim generally (eg https://github.com/Lokaltog/vim-powerline/issues/82).
I don't know if it is related, but I only use 'g:Powerline_symbols =
'compatible' (with a few personal overrides).
Also, I use the SL version of MacVim (7.3 53), with the experimental
renderer turned on, and the latest version of Powerline from GitHub.
Best,
Sylvain Soliman
--
Sylvain Soliman <Sylvain...@m4x.org> GnuPG Public Key: 0x0F53AF99
Page personnelle http://contraintes.inria.fr/~soliman/
Some hints on those personal overrides? 'compatible' was the same result. Are you using a dark or light background theme?
and FWIW I'm on Lion MacVim 7.3.390 w/ latest powerline.
let g:Powerline_symbols_override = {
\ 'BRANCH': 'ψ',
\ 'LINE': '↳',
\ }
I mostly use xoria256 (dark) but I used to use the light version of
solarized, not so long ago and don't recall any issue.
Sylvain
I had in my vimrc
" retain view state when switching windows
autocmd BufWinLeave *.* mkview
autocmd BufWinEnter *.* silent loadview
It's a cargo-cult answer but removing that has solved the problem for me.