Solarized is not really a strict plug-in, it is just a theme, this theme seems to be very good. One thing, because the final effect of Vim is also related to the Ubuntu terminal color, so we also need to make other settings. The specific process is as follows
1. Change the color of the terminal to solarized
Download the terminal configuration resource file
Can download https://github.com/seebi/dircolors-solarized directly
or use git to download
git clone git://github.com/altercation/solarized.git
After the resources have been downloaded (there are a lot of color resources, I chose Dircolors.256dark), then execute the following command
CP Dircolors-solarized/dircolors.256dark ~/'dircolors ~/.dircolors'
Then we add the following in the. bashrc
Export Term=xterm-256color
Execute command
SOURCE ~/.BASHRC
Finally we need to download gnome-terminal color
We can go directly to the Web https://github.com/Anthony25/gnome-terminal-colors-solarized
Download the resource, or use the following git command to get
git clone git://github.com/sigurdga/gnome-terminal-colors-solarized.git
After the download is complete, we go to the resource file directory and execute the command
./set_dark. SH
Here, our terminal has been configured to complete. Style as follows
2. Now let's configure the vim solarized theme
We can get from https://github.com/altercation/vim-colors-solarized
Download the resources, or we can manage this theme plugin via vunble, add the following in. vimrc
' altercation/vim-colors-solarized '
Use VIM to open the following
Solarized of Vim Plugin