Hi, 

I am using xfce4-terminal and xterm. 

I would like to highlight tab indents with a custom color, which is not 
in the 16-set cterm palette. 

Currently I have: 

highlight SpecialKey ctermfg=grey ctermbg=black 

I would like to use '#222222' instead of 'black' for background 
*without* that affecting any other color in the color scheme. 

How can I do that?


Both xfce-terminal and xterm support 256 colors.
In both cases, the $TERM variable environment must be set to 
`xterm-256color` for Vim to configure itself properly during startup.
This allows you to use any of the 256 colors in the following palette:
https://upload.wikimedia.org/wikipedia/commons/1/15/Xterm_256color_chart.svg

The closest to #222222 is 235, which gives you:

highlight SpecialKey ctermfg=235 ctermbg=black

Making use of "true colors" is also possible if your versions of 
xfce-terminal and xterm support it (>0.6.90 and >331, respectively). See 
:help xterm-true-color.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_use/ff8c9950-299d-4fcd-88e5-243200b65c8cn%40googlegroups.com.

Reply via email to