4

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.

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

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, privacy policy and cookie policy

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