Whenever I quit VIM my terminal colors are all messed up. Manually running reset on the command line doesn't seem to fix it either.

I'm using the Mustang VIM theme. I think I basically need to tell VIM to reset all colors or something before it quits.

Any ideas?

link|improve this question
What terminal software? What is your $TERM? – Dennis Williamson Sep 21 '10 at 16:49
It's set to xterm-256color – davidu Oct 18 '11 at 1:02
A screenshot could help to better explain the problem. – Chris Page Feb 26 at 11:51
feedback

2 Answers

Make sure your TERM environmental variable is correct for your terminal emulator software. People often set it to arbitrary values that seem to work without realizing that it can cause them problems.

link|improve this answer
feedback

Since the reset command should have reset all terminal settings, including color, I'm thinking that your terminal software is bad, and is therefore also probably responsible for the color bug in the first place.

(This, of course, assumes that your TERM environment variable is set to an appropriate type for your terminal software.)

link|improve this answer
I think a combination of this answer and @Heptite's are about right. The term software (iterm2) has had some major revisions and the issues have all seemed to go away. – davidu Oct 18 '11 at 1:03
feedback

Your Answer

 
or
required, but never shown

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