Tips: make "cosmetic changes for colorschemes" clearer

The wording should be a bit clearer now. Also use one of the standard
colorschemes shipped with Vim.

Closes #128
This commit is contained in:
Marco Hinz 2018-04-13 13:53:45 +02:00
parent 32d6eb0af1
commit a605d459e7
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

View File

@ -2179,19 +2179,21 @@ set complete-=t " disable searching tags
## Cosmetic changes to colorschemes
Always use a dark gray statusline, no matter what colorscheme is chosen:
Always use a dark gray statusline, no matter which colorscheme is chosen:
```vim
autocmd ColorScheme * highlight StatusLine ctermbg=darkgray cterm=NONE guibg=darkgray gui=NONE
```
The same, but only for the "lucius" colorscheme (check `:echo
color_name` which should be set by all valid colorschemes):
This triggers every time you use `:colorscheme ...`. If you want it to trigger only for
a certain colorscheme:
```vim
autocmd ColorScheme lucius highlight StatusLine ctermbg=darkgray cterm=NONE guibg=darkgray gui=NONE
autocmd ColorScheme desert highlight StatusLine ctermbg=darkgray cterm=NONE guibg=darkgray gui=NONE
```
This triggers only for `:colorscheme desert`.
# Commands
Useful commands that are good to know. Use `:h :<command name>` to learn more