I just installed the solarized colorscheme following instructions on the project's page.
This is what it looks like now:
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.
Problame SolvedFind the answer in Solarized background colour off in emacs under tmux
34 Answers
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=256Or 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.
3I 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
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.
I imported solarized themes into iTerm2. The color looks weird. But it sometimes works.After some tests, I finally find out that it works only if I start iTerm2 with light solarized theme. Once it works the dark theme works too if I change from the light one to the dark one!
I get color themes from
And I find that Solarized Dark Higher Contrast.itermcolors works fine If I start iterm2 with it.
I think theme files that work may have some key differences. eg. high contract or something. And the difference only take effect on new started iTerm2.