Vim powerline doesn't show the current branch

8

I'm using the vim plugin called powerline and it isn't showing the git branch I'm on, while it's supposed to be activated by default. The fugitive plugin is installed, though I don't think it was required. Is there anything else I'm supposed to do for it to work?

Sam

Posted 2012-09-07T01:45:41.823

Reputation: 99

Answers

2

Try running :PowerlineClearCache. The branch is not activated by default.

T0xicCode

Posted 2012-09-07T01:45:41.823

Reputation: 181

2

you should have fugitive installed, if you have it already and yet it does not show, and :PowerlineClearCache doesn't help then try removing Powerline_default_default_compatible.cache from powerline plugin folder and restarting vim.

rzjfr

Posted 2012-09-07T01:45:41.823

Reputation: 31

0

If you are sure that the let g:Powerline_symbols = 'fancy' option works well (the array symbol and the LN symbol are displayed normally as in the screenshot) then try running :PowerlineClearCache in any vim session then restart your vim. Or you should patch your font first.

Ray Chen

Posted 2012-09-07T01:45:41.823

Reputation: 1