mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2025-12-09 23:37:05 +00:00
Update Readme.
This commit is contained in:
23
Readme.md
23
Readme.md
@@ -86,19 +86,7 @@ recommend that you use them. Just clone this repo inside `pack/*/opt`, e.g.:
|
||||
git clone https://github.com/lifepillar/vim-solarized8.git \
|
||||
~/.vim/pack/themes/opt/solarized8
|
||||
|
||||
Then, to load the color scheme, put a line like the following in your `vimrc`:
|
||||
|
||||
```vim
|
||||
colorscheme solarized8
|
||||
```
|
||||
|
||||
If you opt to use some Vim plugin manager instead, a line like the following
|
||||
should be added to your `vimrc`, rather than the above, for the color scheme to
|
||||
be loaded correctly:
|
||||
|
||||
```vim
|
||||
autocmd vimenter * ++nested colorscheme solarized8
|
||||
```
|
||||
Otherwise, use you favourite installation method.
|
||||
|
||||
There are actually four optimized<sup>*</sup> color schemes you may load:
|
||||
|
||||
@@ -120,6 +108,15 @@ load the variant you want, e.g.:
|
||||
set background=dark
|
||||
colorscheme solarized8
|
||||
|
||||
If you opt to use some Vim plugin manager instead, the following should be
|
||||
added to your `vimrc`, rather than the above, for the color scheme to be loaded
|
||||
correctly:
|
||||
|
||||
```vim
|
||||
set background=dark
|
||||
autocmd vimenter * ++nested colorscheme solarized8
|
||||
```
|
||||
|
||||
To switch the background from dark to light or vice versa, just set `background`
|
||||
accordingly.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user