sponsor Vim development Vim logo Vim Book Ad

basic Tip #1486: change the pink omnicomplete popup to a readable color

 tip karma   Rating 39/17, Viewed by 2695 

Read and edit this tip on the Vim tip wiki. The wiki may have a more recent version of this tip.

created:   January 23, 2007 16:19      complexity:   basic
author:   RedBeard0531      as of Vim:  

The omni complete feature in vim is great especially with SuperTab (vimscript #1643). However the hideous choice of color makes it ugly and unreadable. You can use the highlight command (:h hi for more info) to make it look better.

run the following command or add it to your vimrc
highlight Pmenu guibg=brown gui=bold

to see how different color schemes look run something like this(from vimtip #634)
:source /usr/share/vim/vim70/syntax/colortest.vim

 rate this tip  Life Changing Helpful Unfulfilling 

<< When jumping on a tag, automatically split the window if the current buffer has been modified | Spaces are my enemies.. >>

Additional Notes

[email protected], January 23, 2007 20:25
...or you could just use a colorscheme that is designed with the completion menu in mind. Like vimscript#1483.
If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo