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 just installed the solarized colorscheme following instructions on the project's page.

This is what it looks like now: enter image description here

which is not like those screenshots on the official page.

Any idea how to fix this?

EDIT: This is the color setup of my iterm2 profile. enter image description here

Problame Solved Find the answer in Solarized background colour off in emacs under tmux

share|improve this question
    
Those screenshot are in MacVim, not in a terminal. Did you install the palette fot iTerm? what is the value of $TERM? –  romainl Dec 12 '12 at 9:23
    
@romainl My $TERM is xterm-256color –  Satoru.Logic Dec 12 '12 at 9:33
    
@romainl I've installed the solarized dark palette. The reason may be the cterm_fg value of some of these highlight are different from the background color, making it looks like there are lots of holes on the screen. –  Satoru.Logic Dec 12 '12 at 9:37

3 Answers 3

You have two options, the first is to add the following line to your .vimrc to use a slightly degraded version of the colorscheme:

let g:solarized_termcolors=256

Or you can install the the color palette iterm2-colors-solarized/Solarized Dark.itermcolors from the following download off of the author's website.

Source: Solarized Readme, "IMPORTANT NOTE FOR TERMINAL USERS" section.

share|improve this answer
    
Thanks. But I am already using Solarized Dark for iterm2. I've also tried setting solarized_termcolors=256, which seems to disable all syntax highlights. –  Satoru.Logic Dec 16 '12 at 2:34
    
Could you possibly post a screenshot of your iTerm2 Preferences>Profiles>Colors window? I just downloaded and set it up on my own computer and everything seemed to work as it should. –  lyallcooper Dec 16 '12 at 6:13
    
I've uploaded a screenshot of my color setup. –  Satoru.Logic Dec 16 '12 at 6:16

I had this exact issue and the following worked for me:

In iTerm2, in Preferences -> Profiles -> Terminal, under "Terminal Emulation" you have "Report Terminal Type:" set to xterm-256color.

Mine was set to just xterm and resulted in the funky coloring. Hope this helps.

edit: via http://stackoverflow.com/questions/7278267/incorrect-colors-with-vim-in-iterm2-using-solarized

share|improve this answer

I had found this same problem. Many people are stuck with 256-term color translation issues. However, I found that the 'washed out' look remains even when it is configured correctly.

I suspect this is because of the choice of colors. I respect Ethan's work, but I don't find them high-contrast enough, even after calibrating my monitor. (if someone could show me a more-correct way to think about it, I welcome that)

My solution was to modify the color definition files. You can find my modifications here in m fork.

share|improve this answer

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.