6

I would like to change the default green terminal statusline below to my usual colorscheme statusline color:

terminal_green_bar

Is this possible? There is no mention of it in :h terminal.

2
  • 1
    The Statusline for the terminal uses the StatusLineTerm and StatusLineTermNC highlighting group. Mar 19, 2018 at 7:59
  • Thanks @christian, if you post your comment as an answer I'll accept it Mar 19, 2018 at 8:44

1 Answer 1

8

The still somewhat new internal terminal implementation of Vim 8 uses the StatusLineTerm highlighting group for the active window and the StatusLineTermNC highlighting group for the statusline of an inactive window.

So you might want to tweak the corresponding highlighting groups like this:

:hi StatusLineTerm ctermbg=red ctermfg=black guibg=#ff0000 guifg=black
:hi StatusLineTermNC ctermbg=red ctermfg=darkblack guibg=darkred guifg=black

Of course use whatever looks good to your style :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.