Usage: add checklist for true colors

This commit is contained in:
Marco Hinz 2018-01-20 15:36:44 +01:00
parent 598482e4c7
commit 4409d578fb
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

View File

@ -1970,7 +1970,17 @@ set-option -ga terminal-overrides ',xterm-256color:Tc'
other terminfo entries of `xterm-256color`. Obviously this assumes that the other terminfo entries of `xterm-256color`. Obviously this assumes that the
user is using `TERM=xterm-256color` _outside_ of tmux. 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 # Tips