mirror of
https://github.com/mhinz/vim-galore.git
synced 2025-02-24 01:59:28 +08:00
Tips: cosmetic changes to colorschemes
Closes https://github.com/mhinz/vim-galore/issues/88.
This commit is contained in:
parent
e274438704
commit
7db13688c0
@ -33,6 +33,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
- Tips: [Saner CTRL-L](README.md#saner-ctrl-l)
|
- Tips: [Saner CTRL-L](README.md#saner-ctrl-l)
|
||||||
- Tips: [Disable audible and visual bells](README.md#disable-audible-and-visual-bells)
|
- Tips: [Disable audible and visual bells](README.md#disable-audible-and-visual-bells)
|
||||||
- Tips: [Faster keyword completion](README.md#faster-keyword-completion)
|
- Tips: [Faster keyword completion](README.md#faster-keyword-completion)
|
||||||
|
- Tips: [Cosmetic changes to colorschemes](README.md#cosmetic-changes-to-colorschemes)
|
||||||
- Usage: [Getting help offline (alternative)](README.md#getting-help-offline-alternative)
|
- Usage: [Getting help offline (alternative)](README.md#getting-help-offline-alternative)
|
||||||
- Usage: [Editing remote files](README.md#editing-remote-files)
|
- Usage: [Editing remote files](README.md#editing-remote-files)
|
||||||
- Usage: [Restore cursor position when opening file](README.md#restore-cursor-position-when-opening-file)
|
- Usage: [Restore cursor position when opening file](README.md#restore-cursor-position-when-opening-file)
|
||||||
|
21
README.md
21
README.md
@ -77,6 +77,7 @@ Twitter](https://twitter.com/_mhinz_).
|
|||||||
- [Reload a file on saving](#reload-a-file-on-saving)
|
- [Reload a file on saving](#reload-a-file-on-saving)
|
||||||
- [Smarter cursorline](#smarter-cursorline)
|
- [Smarter cursorline](#smarter-cursorline)
|
||||||
- [Faster keyword completion](#faster-keyword-completion)
|
- [Faster keyword completion](#faster-keyword-completion)
|
||||||
|
- [Cosmetic changes to colorschemes](#cosmetic-changes-to-colorschemes)
|
||||||
|
|
||||||
#### [Commands](#commands-1)
|
#### [Commands](#commands-1)
|
||||||
|
|
||||||
@ -1017,7 +1018,10 @@ chances are that the colorscheme only defined colors for the GUI.
|
|||||||
I use [gruvbox](https://github.com/morhetz/gruvbox) for the GUI and
|
I use [gruvbox](https://github.com/morhetz/gruvbox) for the GUI and
|
||||||
[janah](https://github.com/mhinz/vim-janah) for the terminal.
|
[janah](https://github.com/mhinz/vim-janah) for the terminal.
|
||||||
|
|
||||||
More colorschemes: [here](#list-of-colorschemes-1)
|
Related:
|
||||||
|
|
||||||
|
- [List of colorschemes](#list-of-colorschemes-1)
|
||||||
|
- [Cosmetic changes to colorschemes](#cosmetic-changes-to-colorschemes)
|
||||||
|
|
||||||
#### Folding?
|
#### Folding?
|
||||||
|
|
||||||
@ -1988,6 +1992,21 @@ set complete-=i " disable scanning included files
|
|||||||
set complete-=t " disable searching tags
|
set complete-=t " disable searching tags
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Cosmetic changes to colorschemes
|
||||||
|
|
||||||
|
Always use a dark gray statusline, no matter what 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):
|
||||||
|
|
||||||
|
```vim
|
||||||
|
autocmd ColorScheme lucius highlight StatusLine ctermbg=darkgray cterm=NONE guibg=darkgray gui=NONE
|
||||||
|
```
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|
||||||
Useful commands that are good to know. Use `:h :<command name>` to learn more
|
Useful commands that are good to know. Use `:h :<command name>` to learn more
|
||||||
|
Loading…
x
Reference in New Issue
Block a user