Create or modify colorschemes for the terminal version

0 views
Skip to first unread message

Mr.SpOOn

unread,
Nov 17, 2008, 7:54:26 AM11/17/08
to vim...@googlegroups.com
Hi,
I use Vim 7.2 on linux, in the terminal. I don't really like the gui version.

I prefer light color chemes, usually with a white background, but I
can't find a really nice one. I mean, searching around a lot of people
say that desert256 is a great dark color scheme and I agree too.

The default color scheme looks pretty good, but since I program mainly
in python, at the moment, something doesn't look good. For example
method and class names have a very light blue. And I'd change some
other details. I just don't know how to identify elements.

I've found this site: http://yukihiro.nakadaira.googlepages.com/vim-color.html

But I think it shows color schemes for the gui version, because even
the default looks different from the one I have. Or maybe it's just
because it uses C code in the example.

Anyway, is there an easy way to modify color schemes? At least to
identify elements?

Thanks.

Matt Wozniski

unread,
Nov 17, 2008, 7:58:42 AM11/17/08
to vim...@googlegroups.com
On Mon, Nov 17, 2008 at 7:54 AM, Mr.SpOOn wrote:
>
> But I think it shows color schemes for the gui version, because even
> the default looks different from the one I have. Or maybe it's just
> because it uses C code in the example.

Check out CSApprox.vim; it's meant to deal with just that sort of
problem by making gvim colorschemes look the same in terminal vim.

~Matt

Mr.SpOOn

unread,
Nov 17, 2008, 8:25:07 AM11/17/08
to vim...@googlegroups.com
On Mon, Nov 17, 2008 at 1:58 PM, Matt Wozniski <m...@drexel.edu> wrote:
> Check out CSApprox.vim; it's meant to deal with just that sort of
> problem by making gvim colorschemes look the same in terminal vim.

Thanks, this works :D
Still I can't find how to change appearance of class and method names.
The color is ok, but I'd like them bold. I searched for the definition
in the colorscheme file for that color (seagreen) and in every
definition there is also gui=bold. So I think it must be another
undefined element.

A. S. Budden

unread,
Nov 17, 2008, 8:35:38 AM11/17/08
to vim...@googlegroups.com
2008/11/17 Mr. SpOOn <mr.sp...@gmail.com>:

Have you tried cterm=bold?

It may not be of any interest to you, but my colourscheme* is much
easier to edit than most (in my opinion), so you may find it easier to
make your colour scheme starting from this. It chooses sensible
defaults (so will make cterm= the same as gui= if you don't set them
yourself). It seems to work very well in combination with
CSApprox.vim for use in 256 colour terminals.

* http://sites.google.com/site/abudden/Vim-Scripts/bandit-colour-scheme

Al

Mr.SpOOn

unread,
Nov 17, 2008, 8:48:38 AM11/17/08
to vim...@googlegroups.com
On Mon, Nov 17, 2008 at 2:35 PM, A. S. Budden <abu...@gmail.com> wrote:
> Have you tried cterm=bold?

Where shall I put this?
Anyway, I'm using urxvt.
Other elements in the code (def, if, else, return) looks bold, so I
think it recognize the bold directive.

> It may not be of any interest to you, but my colourscheme* is much
> easier to edit than most (in my opinion), so you may find it easier to
> make your colour scheme starting from this. It chooses sensible
> defaults (so will make cterm= the same as gui= if you don't set them
> yourself). It seems to work very well in combination with
> CSApprox.vim for use in 256 colour terminals.
>
> * http://sites.google.com/site/abudden/Vim-Scripts/bandit-colour-scheme

Thanks, this seems great. I'll try it :D

Anyway, at the moment, the link to the zip archive doesn't work for
me. I'll use the vba version, it was just to let you know.

A. S. Budden

unread,
Nov 17, 2008, 9:00:31 AM11/17/08
to vim...@googlegroups.com
2008/11/17 Mr. SpOOn <mr.sp...@gmail.com>:

>
> On Mon, Nov 17, 2008 at 2:35 PM, A. S. Budden <abu...@gmail.com> wrote:
>> Have you tried cterm=bold?
>
> Where shall I put this?

This is used in the "hi" line alongside gui=bold.

e.g. hi Statement gui=bold cterm=bold guifg=blue ctermfg=blue

> Anyway, I'm using urxvt.
> Other elements in the code (def, if, else, return) looks bold, so I
> think it recognize the bold directive.

Fair enough.

>
>> It may not be of any interest to you, but my colourscheme* is much
>> easier to edit than most (in my opinion), so you may find it easier to
>> make your colour scheme starting from this. It chooses sensible
>> defaults (so will make cterm= the same as gui= if you don't set them
>> yourself). It seems to work very well in combination with
>> CSApprox.vim for use in 256 colour terminals.
>>
>> * http://sites.google.com/site/abudden/Vim-Scripts/bandit-colour-scheme
>
> Thanks, this seems great. I'll try it :D
>
> Anyway, at the moment, the link to the zip archive doesn't work for
> me. I'll use the vba version, it was just to let you know.

Thanks: I'd deleted the zip file (as the vimballs seem to be working
now), but I hadn't updated the links further up the page. Done now.

Al

Anton Sharonov

unread,
Nov 18, 2008, 5:24:13 PM11/18/08
to vim...@googlegroups.com
For light background you can try:

peaksea

from Pan, Shi Zhu
http://vim.sourceforge.net/scripts/script.php?script_id=760

First time, it looks not very impressing. But your editor it isn't
photo-album. Editor is a tool which you stare 8 hours in the day.

--
Anton

Mr.SpOOn

unread,
Nov 18, 2008, 5:43:08 PM11/18/08
to vim...@googlegroups.com
On Tue, Nov 18, 2008 at 11:24 PM, Anton Sharonov
<anton.s...@gmail.com> wrote:
> from Pan, Shi Zhu
> http://vim.sourceforge.net/scripts/script.php?script_id=760
>
> First time, it looks not very impressing. But your editor it isn't
> photo-album. Editor is a tool which you stare 8 hours in the day.

Yes, I agree, indee I look for very minimal things, but I prefer
combinations of black and white. I'm just using a modified version of
the default theme :)

Reply all
Reply to author
Forward
0 new messages