On 9/22/20 7:33 AM, Maxim Abalenkov wrote:
> I tend to use both vim colours and iTerm2 colour scheme. If I understand
> correctly, the resulting colours that I see are a mixture of both Vim
> and iTerm2 colour profiles superimposed. Therefore, my question is how
> do I tell Vim to use only Vim colour settings and ignore the iTerm2
> colours? Thank you very much and have a productive day ahead!
Doesn't vim just specify the color number / index (0-7 / 0-15 / 0-255)
that it wants used for specific characters and then rely on the terminal
(emulator) to set the actual colors used for any given color number / index?
I don't think there is any (good*) way for vim to know that you're using
iTerm2 and adjust it's behavior accordingly. I think this is all in
iTerm2's control.
*Shell ~> vim may be able to deduce from the TERM environment variable
(and possibly answer back) what the terminal is. But there usually is
not a one-to-one correlation. Further many terminal emulators tend to
lie and say they are a different terminal; ANSI and VT100 are common. I
don't remember what iTerm2 does by default.
--
Grant. . . .
unix || die
--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/2ce2173e-e077-8905-5aa3-e0a70f83d3e4%40spamtrap.tnetconsulting.net.
No comments:
Post a Comment