Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to change the coloring for the command line in vim? I realize that may be somewhat ambiguously stated, so I have some things that should clear it up a little. This image illustrates what I'm talking about:

enter image description here

Shown are two lines of the file I'm editing, or in the particular case, the help file I'm viewing, then the status line and finally the command line I'm talking about. All I want to do is turn that command line's foreground and background colors to the same as the status line above it.

I would assume this is a simple hi ______ guifg=#… guibg=#… in my colorscheme file, I'm just not sure what the selector is for that line. Can anyone offer any help? I haven't seen this happening in any screenshots of other configs, so I'm not sure if it's impossible or just uncommon.

share|improve this question

The Vim cmdline uses the same colors as Normal text and doesn't have its own highlight group.

share|improve this answer

Your Answer


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.