Monday, August 8, 2011

Re: colorschemes are not right ... most of the time

On 2011-08-08, wombatvvv wrote:
> Hi,
>
> I'm new to VIM and trying to find a colorscheme I like.
>
> I've installed the ColorScheme Scroller plugin (:SCROLL / :COLOR). I have
> noticed that when I used the :colorscheme zenburn (whatever) command, the
> color scheme never displays correctly. The same if I put a colorscheme line
> in my vimrc file in order to get it to load on startup.
>
> /However/, it does /sometimes/ work properly if I get to the colorscheme by
> scrolling through all the options after using the :SCROLL plugin. I can't
> find any rhyme or reason to this. Most of the time it doesn't work, but
> sometimes, for some reason, it comes up looking right. (two I have noticed
> this with are zenburn and summerfruit256).
>
> Is it possible that cycling through all the other color schemes, one of them
> somehow "resets" my terminal colors, or does something else that enables the
> schemes to be displayed properly?
>
> Any solutions?

I'm no expert in color schemes, but in my experience of getting my
own color scheme to work consistently across a variety of platforms
and when switching among color schemes, I found that the behavior of
my color scheme was very sensitive to the order of the initial
commands to reset and clear colors. It could be that zenburn.vim is
missing some of those commands or has them in the wrong order. You
might open that file alongside one of the files from
$VIMRUNTIME/colors and check those initial commands. I'd look at it
myself but I don't have a copy of zenburn.vim.

HTH,
Gary

--
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

No comments: