Powerline can be shown in multiple buffer, but not in a single buffer

I have just installed Powerline plugin into my vim by using pathogen and submodule.

The powerline is only visible when where are multiple buffers. When there is only one buffer in vim, I can't see it.

I wonder whether it is a bug or not?

Answers


What you meant to say is multiple windows not buffers.

By default vim is set not to show the statusline when there is only a single window. You can override this by using:

set laststatus=2

Numbers denote the behavior as such:

0: never
1: only if there are at least two windows (this one is the default)
2: always

See :h laststatus for more info..


Need Your Help

how to create and call scalar function in sql server 2008

sql-server-2008 function call scalar

I have created a Scalar Functions, it was created successfully, but when I call the function using select statement, it says invalid object, I altered the function, I got the message command comple...

How to detect microphone input permission refused in iOS 7

cocoa-touch ios7

I would like to detect when a user refused the microphone permission on my iOS application.