Re: Custom highlight color outside the 16-set cterm palette?

"Steven H." <[email protected]>
Newsgroups gmane.editors.vim
Message-ID <20250416164646.0a4e4bac@localhost>
On Wed, 16 Apr 2025 09:10:05 +0000 dvalin via vim_use wrote:

> There's 754 colours in my /etc/X11/rgb.txt, but 782 in
> /usr/share/vim/vim81/rgb.txt , maybe more in a more current version.

Here:

find /usr/share/vim/ -name 'rgb.txt'

shows me nothing.

> And I guess you could add your own, if needed.
> But I change the cursor colour in vim, using its limited palette, to
> differentiate insert vs normal mode at the cursor, not just the status
> line.
> 
> "MODE-INDICATING TRICOLOUR CURSOR:
> 
> "Appearance: (Insert_Mode = Red, Replace Mode = Purple, Normal_Mode = Green)
> 
> if &term =~ "xterm"
> let &t_SI = "\<Esc>]12;red\x7"
> let &t_SR = "\<Esc>]12;purple\x7"
> let &t_EI = "\<Esc>]12;green\x7"
> endif

where do I type this? And how does it affect the color of tab indents?

I hope you can clarify. I am not an expert.
FWIW, I am using desert colorscheme.

-- 
-- 
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 [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_use/20250416164646.0a4e4bac%40localhost.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.