How to set the solarized colorscheme in Vim?

How to set the solarized colorscheme in Vim?

According to the readmeof the vim sector of ethan’s solarized colorscheme, you need to set the colorscheme of your terminal explicitly. You can take a look at base 16. Install it, and run base16_solarized-dark. Then vim will, hopefully, show the colors properly.

When to use 16 colors instead of 256 in Vim?

If you are encountering unreadable color schemes (not just ugly, but unreadable like white text on pink background), an easy fix may be to use 16 colors instead of 256 colors. Then you don’t have to mess with the color schemes.

Why is same FG and BG in same color in Vim?

For people that use the very excellent Solarized theme there’s an option that turns on high visibility for diff mode: Actually, I’ve found that the main culprit for same fg/bg color is because of conflict between code syntax highlighting and diff colorscheme.

Why does Vim assign diffchange BG to lightmagenta?

The reason is that the default vimdiff color scheme assigns DiffChange bg as “LightMagenta”, which gets mapped to a very light pink in 256 colors. That is unreadable with white text. With 16 colors, the “LightMagenta” is mapped to a bold magenta, which white text shows up much better on.

Where to find solarized.vim on GitHub?

The Vim-only repository is kept in sync with the main Solarized repository and is for installation convenience only (with Pathogen or Vundle, for instance). Issues, bug reports, changelogs are centralized at the main Solarized repository. Move solarized.vim to your .vim/colors directory.

Where can I find Vim colors on GitHub?

If you have come across this colorscheme via the Vim-only repository on github, or the [vim.org script] page see the link above to the Solarized homepage or visit the main Solarized repository. The Vim-only repository is kept in sync with the main Solarized repository and is for installation convenience only (with Pathogen or Vundle, for instance).

What happens if I use solarized without colorscheme?

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).