Monday, May 25, 2015

Re: Changing vim graphical mode to handle colors like in color terminal mode

On Monday, May 25, 2015 at 8:13:56 PM UTC+12, Michael Darling wrote:
> I'd like to have vim in graphical mode handle colors (default fg/bg color, syntax highlighting) handle it the same as in color terminal mode.
>
> What's the easiest way to do this? Is there an option, or do I need to change my local source?

You definitely don't want to change C source code. Vim's colors are specified in color scheme files, which are in vimscript, not in C.

It sounds like you don't understand vim color schemes; my apologies if you do. What color schemes are you using in color terminal mode and gvim? I suggest you have a look at the files in $VIMRUNTIME/colors, particularly the README.txt there.

If you are using the same colorscheme in both modes, and the colors don't match, the mapping from XTerm 16, 88 and 256 color modes to RGB can be determined, so you could edit a colorscheme so that they match.

Regards, John Little

--
--
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.
For more options, visit https://groups.google.com/d/optout.

No comments: