mirror of
				https://github.com/mhinz/vim-galore.git
				synced 2025-11-04 11:55:35 +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:
		
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							@@ -2179,19 +2179,21 @@ set complete-=t   " disable searching tags
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Cosmetic changes to colorschemes
 | 
					## 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
 | 
					```vim
 | 
				
			||||||
autocmd ColorScheme * highlight StatusLine ctermbg=darkgray cterm=NONE guibg=darkgray gui=NONE
 | 
					autocmd ColorScheme * highlight StatusLine ctermbg=darkgray cterm=NONE guibg=darkgray gui=NONE
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The same, but only for the "lucius" colorscheme (check `:echo
 | 
					This triggers every time you use `:colorscheme ...`. If you want it to trigger only for
 | 
				
			||||||
color_name` which should be set by all valid colorschemes):
 | 
					a certain colorscheme:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```vim
 | 
					```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
 | 
					# 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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user