mirror of
https://github.com/mhinz/vim-galore.git
synced 2025-02-24 01:59:28 +08:00
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:
parent
32d6eb0af1
commit
a605d459e7
10
README.md
10
README.md
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user