

When I run Vim using Terminal, however, the colors change and the color scheme doesn't appear to be working anymore. To do so, simply add the following line before the colorschem solarized line:Īgain, I recommend just changing your terminal colors to Solarized values either manually or via one of the many terminal schemes available for import. I've installed color schemes that seem to be working well with MacVim. If you are using a terminal emulator that supports 256 colors and don’t want to use the custom Solarized terminal colors, you will need to use the degraded 256 colorscheme. Come for the hundreds of vim color schemes, stay for the awesome hjkl spatial navigation. so how to set the startup color only affect macvim, I'm familiar with the vi's color with rails plug in, I don't want to mess it up. Check out the Old vim color schemes vimcolorschemes is the ultimate resource for vim users to find the perfect color scheme for their favorite development environment. I found the color vi totally changed, It's either the way of rails plugin, or the torth, like mixed color. If you do use the custom terminal colors, solarized.vim should work out of the box for you. Hey guys I recently moved to macvim, It's great, when I add the theme: torth in the.

If you use Solarized without these colors, Solarized will need to be told to degrade its colorscheme to a set compatible with the limited 256 terminal palette (whereas by using the terminal’s 16 ansi color values, you can set the correct, specific values for the Solarized palette). Apprentice is a dark, low-contrast colorscheme for Vim based on the awesome Sorcerer by Jeet Sukumaran. I’ve included palettes for some popular terminal emulator as well as Xdefaults in the official Solarized download available from Solarized homepage. not in a GUI version like gvim or macvim), please please please consider setting your terminal emulator’s colorscheme to used the Solarized palette. If you are going to use Solarized in Terminal mode (i.e.

Only let g:solarized_termcolors=256 if you are not using the solarized palette as your iTerm2 color preset. Second Edit: If you've loaded the solarized color palette into iTerm2, then you must let g:solarized_termcolors=16. Another says that adding the line let g:solarized_termcolors = 16 fixed a color display problem. It appears that could be a problem for some. I believe the built in version in Lion does.Įdit: Based on several comments on this answer, I've removed let g:solarized_termcolors = 256 line from the. vimrc, there are some options you can also set to make sure it's using 256 colors:Īnd one of those should work, but #1 first.īUT, if you're using the default, built in vim on Snow Leopard, it won't work, as it's not built with support for 256 colors. In iTerm2, in Preferences -> Profiles -> Terminal, under "Terminal Emulation" you have "Report Terminal Type:" set to xterm-256color.
