Nerdtree: Hide status (Power) line

Created on 31 Jul 2013  路  2Comments  路  Source: preservim/nerdtree

Does anyone know how I can hide the status line, hence Powerline, for NERDTree buffers?

Most helpful comment

Hey, @nomasprime, sorry for the lag!

There is no way to disable the status line feature for only one window. Unfortunately, the 'laststatus' setting is global. You can, however, customize the NERDTree status line.

Please read :h 'NERDTreeStatusline' for additional information.

As an afterthought, try the following setting in your vimrc and see if it helps:

let g:NERDTreeStatusline = '%#NonText#'

... that may be what you actually want.

All 2 comments

I just came back to the same question and found I'd asked it almost three years ago :laughing:

Hey, @nomasprime, sorry for the lag!

There is no way to disable the status line feature for only one window. Unfortunately, the 'laststatus' setting is global. You can, however, customize the NERDTree status line.

Please read :h 'NERDTreeStatusline' for additional information.

As an afterthought, try the following setting in your vimrc and see if it helps:

let g:NERDTreeStatusline = '%#NonText#'

... that may be what you actually want.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nicknisi picture nicknisi  路  5Comments

MuhammadMouradG picture MuhammadMouradG  路  6Comments

milushov picture milushov  路  4Comments

fncll picture fncll  路  4Comments

NikosEfthias picture NikosEfthias  路  3Comments