Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VIM powerline only displaying when plugin like NERDtree active

Tags:

vim

nerdtree

Has anyone run into an issue where powerline does not display when in "standard" mode?

If I run:

$ vim ~/.vimrc

I see the following:

"~/.vimrc" 37L, 952C

But if I open something like NERDTree, CtrP, or Sytnatstic I am able to see Powerline as it is expected, as soon as I close either one of the plugins powerline goes away.

Is this the expected behaviour?

Here is my .vimrc if anyone is interested.

https://gist.github.com/helmutgranda/a8347b5e5f0afe293f11

like image 914
Helmut Granda Avatar asked Dec 25 '22 05:12

Helmut Granda


1 Answers

You need to have

set laststatus=2

in your vimrc. This will cause the status line to always show up. Normally it is hidden when you only have no splits.

like image 57
FDinoff Avatar answered Dec 27 '22 20:12

FDinoff