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 like the functionality of the FuzzyFinder plugin in vim a lot - however, the colors of the search page when using the desert color scheme is not pleasant IMHO. It is a bright purple with a black selection.

How can I change the colors of the search pane?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

You need to find out which highlight groups it's using and then modify them. I believe the drop-down menu is using Pmenu and PmenuSel, so you can tweak this with:

:highlight Pmenu guifg=#HEXCODE guibg=#HEXCODE gui=DECORATION ctermfg=COLOR ctermbg=COLOR cterm=DECORATION

HEXCODE can be a hex color code and is used in gvim (or macvim or similar).

COLOR is used in console mode (where colors are supported). You can look up a list of valid colors in :help cterm-colors (but it only lists colors for 16-color terminals, there may be more).

DECORATION is a decoration style (bold, underline, undercurl, etc).

For more more information, :help highlight

Note, changing this will change the Pmenu and PmenuSel globally, so anything else in vim that uses those two highlight groups will also have their colors effected.

share|improve this answer
    
Great. That will certainly please my eyes soon :-) –  HakonB Jan 11 '11 at 11:18

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.