I’m tring to change vim’s status line color by editing my .vimrc .
By using the command au, I tried to change the color of the status line when entering or leaving insert mode; by using this command nothing happens:
hi StatusLine guibg=whatevercolourIwant
By changing the status line color directly, without any au command, the background remains the same.
Is there reason why by executing
:hi StatusLine guibg=red,
for instance, the background of the status bar still remains greenish?
if you are running vim in terminal, try:
guibg guifg are for GUI.
hope it helps.