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

I use cmake, which produces makefiles with nice colourful output, but when I :make from Vim (well, actually MacVim, which is essentially GVim but I figure that doesn't make much difference), the output isn't coloured.

Is there a way I can declare the Vim terminal type as xterm-colour, or something, so that commands output colour control characters? (or does Vim not support this?)

share|improve this question
The Conque plugin for Vim is a terminal emulator (for builds that include Python support; MacVim qualifies). You could use it to run make and have its output interpreted (though I have seen reports of flakiness in Conque’s terminal emulation), but you would lose some of the integration provided by :make (i.e. automatic quickfix parsing; though you could set up some automation to parse (part of) the resulting buffer with :cbuffer). – Chris Johnsen Jul 13 '11 at 4:05
up vote 4 down vote accepted

The terminal used by gvim is a very dumb terminal. Among other things, it doesn't support ANSI color sequences. See

:help gui-shell

for a little on this. If you launch a shell from gvim (:sh), you can send ANSI color sequences to the "terminal" (e.g., ls --color=always) and you will see the escape sequences themselves, not colors.

share|improve this answer


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.