mirror of
				https://github.com/mhinz/vim-galore.git
				synced 2025-11-04 11:55:35 +08:00 
			
		
		
		
	Usage: add checklist for true colors
This commit is contained in:
		
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
									
									
									
									
								
							@@ -1970,7 +1970,17 @@ set-option -ga terminal-overrides ',xterm-256color:Tc'
 | 
			
		||||
  other terminfo entries of `xterm-256color`. Obviously this assumes that the
 | 
			
		||||
  user is using `TERM=xterm-256color` _outside_ of tmux.
 | 
			
		||||
 | 
			
		||||
Help: `:h 'termguicolors'`
 | 
			
		||||
So, here is the checklist for enabling true colors:
 | 
			
		||||
 | 
			
		||||
- Read `:h 'termguicolors'`.
 | 
			
		||||
- Put `set termguicolors` in your vimrc.
 | 
			
		||||
- Make sure your colorscheme has color definitions for GUIs. (It should contain
 | 
			
		||||
  lines with `guifg` and `guibg`.)
 | 
			
		||||
- Make sure your terminal emulator of choice supports true colors.
 | 
			
		||||
- Using tmux? Configure it to add the `Tc` capability.
 | 
			
		||||
 | 
			
		||||
A popular reference for colors in the terminal:
 | 
			
		||||
https://gist.github.com/XVilka/8346728
 | 
			
		||||
 | 
			
		||||
# Tips
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user