From a605d459e795f9ab5d482e2bff0c1a0f4a595725 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Fri, 13 Apr 2018 13:53:45 +0200 Subject: [PATCH] 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 --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0eec690..9354e15 100644 --- a/README.md +++ b/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 :` to learn more