On Tue, 2009-05-26 at 12:20 -0300, Bira wrote:
> Hello!
> 
> I've been using Cream for a while to code, and I have a question to
> which I've been unable to find answers on the official website or
> through Google.
> 
> Is there a way to add personalized color themes to Cream, other than
> changing the source? In other words, is there something I can add to
> cream-user.vim or to another file to make a new theme show up on the
> theme selection menu? Where should I place the theme file for Cream
> to see it?

It is easy to add a personalized color scheme. Start with an existing
theme, you'll notice each has a "+++ Cream:" to "+++" set of brackets
with Cream's custom highlighting groups. Then just source it in your
cream-user file like this:

  source /path/to/scheme/mycolors.vim

More about the cream-user here:

  http://cream.sourceforge.net/faq.html#0201


> Also, a related question: What do I need to add to a Vim color theme
> to make it compatible with Cream? I'm not very familiar with Cream's
> inner workings or with vimscript, but I would like to learn a bit
> about it.

Just make sure you include the groups in the "+++" bracketed sections
mentioned above, these help with the statusline, spellcheck,
bookmarks, invisible characters, email signatures, and current line
highlighting. 


-- 
Steve Hall  [ digitect dancingpaper com ]
:: Cream... usability for Vim
::   http://cream.sourceforge.net



------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
cream-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cream-general

Reply via email to