Re: [cream] Cream and personalized color themes.
Cream is a free, easy-to-use configuration of the Vim text editor
Brought to you by:
digitect
From: Steve H. <dig...@da...> - 2009-05-26 21:02:09
|
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 |