On Friday, February 1, 2013 4:16:39 AM UTC-6, rudrab wrote:
> Dear friends,
> I am using slate color scheme in gvim(vim-X11 package in fedora).
> The problem is this color scheme (and many other) is not obeyed by vim. So, 
> while slate is dark, vim is still showing white background and comments on 
> yellow (neither is a slate scheme).
> Even more basic packages like blue are rendering color differently.
> In my $VIMRUNTIME, I do have those packages installed.
> So, what is the way to use same color scheme both in vim and gvim?
> NB: I can see vim's color changed if I use, say, :colo slate in vim terminal; 
> only that the color is different from what is seen in gvim.

Terminal Vim uses color codes 1-8, 1-16, 1-88, 1-256, etc. depending on how 
many colors your color terminal supports. These color codes correspond to 
different actual colors depending on your terminal and the setup of that 
terminal.

GUI gvim uses full 24-bit RGB color specifications like #c0ffee

Many color schemes do not even bother setting up terminal colors. Even those 
that do rarely give exact matches.

There are a couple plugins which translate the GUI colors into the closest 
matching terminal color codes.

See the following for a little more detail:

  http://vim.wikia.com/wiki/Using_GUI_color_settings_in_a_terminal

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


Reply via email to