Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to change the colour of the WildMenu background but I don't know which highlight group I need to specify.

WildMenu is the highlighted state of whichever item you have selected, not the background. I've checked the documentation, but can't find the correct highlight group.

Does anyone know which one it is?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

There's no specific highlight group for the background of the wildmenu. Instead, Vim simply uses StatusLine.

share|improve this answer
    
Great, thank you. That's the one! –  jordelver Oct 29 '12 at 17:01

Highlight groups specify both foreground and background colors. The colors used by the GUI and by color terminals are specified separately. To change the background color used by WildMenu in the GUI to red, for example, use

:hi WildMenu guibg=red
share|improve this answer
    
No, the background only changes for the selected WildMenu item, not the whole bar :( –  jordelver Oct 29 '12 at 16:59
    
Semantics. The term "background" in Vim refers to the background color of the character cells associated with the highlight group. Some other term is used to refer to the non-selected parts of menus. So I responded to what you said and romani responded to what you meant. –  garyjohn Oct 29 '12 at 18:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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