Vim command line color setting

Viewed 4553

Is there a way to set different colors for the command line color and the "Normal" text color in vim. When I use

:hi Normal guifg=orange

the command line and the normal text color become orange. I would like the command line at the bottom of the gui to be a different color however.

4 Answers

Nowadays NeoVim has the feature. MsgArea color group. e.g.

:hi MsgArea guifg=#03ff13

screenshot

That can be done via new wincolor option that was introduced in Vim 8.2:

set wincolor=NormalAlt
autocmd WinEnter set wincolor=NormalAlt
hi Normal       guifg=#CED1CF       guibg=#000000       gui=NONE
hi NormalAlt    guifg=#CED1CF       guibg=#1B1D21       gui=NONE

enter image description here

Related