Vim color scheme: Gentooish

I look at Vim 7 or 8 hours a day, so it's nice if the colors don't give me a headache. I've used ps_color for years but recently I decided it's a bit too washed-out and it has some quirks that make it hard to read Ruby code. It's hard to find anything else that's any better though. inkpot is good but it's a bit too monochrome for me. I like things to have a very distinct hue rather than rely on saturation or subtle differences.

So I started writing my own color scheme. For some reason that's beyond me, I seem to gravitate toward purple and green. Green is my favorite color, but why purple? I think it might be due to Gentoo brainwashing, so I called this color scheme Gentooish. I've been using it for a week or so and I keep changing things that annoy me, which will probably continue, but it's non-sucky enough to upload at this point probably.

Download gentooish.vim.

Gentooish

I've never written a color scheme before, but it's not difficult. inkpot had nice clean source code so I used that as a basis. ps_color's source is horrific.

Sadly I'm not 100% sure how vim color schemes map to colors in a terminal. Konsole, urxvt, xterm, and a real terminal all show me different colors when using the same color scheme. So I didn't bother with it.

14 Comments

http://gravatar.com/avatar/c83788fe293073a2eed460bbf2f136ca.jpg?d=identicon
Dirk R. Gently says:

Nice job. The green/purple colorscheme looks very nice - like the moonet. I use a somewhat modified version of lettuce which has a bit of likewise look.

http://linuxtidbits.files.wordpress.com/2008/03/vim-xclip.png http://linuxtidbits.files.wordpress.com/2008/02/my-terminal-gush.png

May 12, 2008 12:37 PM PDT
http://gravatar.com/avatar/7ec50b992e56519e8f9121d7abdeaaca.jpg?d=identicon
Chad says:

It looks great! I'm a long time Emacs user (8 or 9 years) and just made the decision to start using Vim. I like the "smallness" of it and the fact that it's on every Unix and Linux box, pretty much by default. I still love Emacs but it is getting a little bloated and, usually, needs to be installed when I need to work from a computer that is not my own. Don't get me wrong, when I say that Emacs is bloated, I don't mean that in a bad way. Emacs is kind of a "one stop to do everything" editor. I'm really looking forward to my new journey into the Vim world. Can you recommend a good book as a tutorial?

Thanks.

May 13, 2008 03:39 AM PDT
http://gravatar.com/avatar/4d84ec3981443dfd9c287e845b60d2ce.jpg?d=identicon
Brian says:

A book, hmmm. I don't know of any books. I think I used vimtutor when I first started learning. (If you're on *nix try vimtutor from a terminal, on Windows it'll be in the start menu, otherwise hunt for the vimtutor executable in the vim install dir). Your other source of info should be :h in vim. It's the best-written, most complete manual I've ever seen. Type :h searchterm and you can search the help with tab-completion.

Then there's the official vim scripts page which has been superseded recently by the official vim wiki. Lots of good stuff there.

May 13, 2008 08:45 AM PDT
http://gravatar.com/avatar/7ec50b992e56519e8f9121d7abdeaaca.jpg?d=identicon
Chad says:

Thanks for the info. I'm running Linux (have been for 11 years). No MS Windows here! :)

Thanks!

May 13, 2008 09:57 AM PDT
http://gravatar.com/avatar/adc35fdc97490277e70d4552a6b6aa6e.jpg?d=identicon
anon says:

What KDE window theme are you using there?

May 13, 2008 04:56 PM PDT
http://gravatar.com/avatar/4d84ec3981443dfd9c287e845b60d2ce.jpg?d=identicon
Brian says:

http://www.kde-look.org/content/show.php/The+K-style:+Infinity+[official]?content=35590

May 13, 2008 05:17 PM PDT
http://gravatar.com/avatar/adc35fdc97490277e70d4552a6b6aa6e.jpg?d=identicon
anon says:

Thanks a lot, this is amazing!

Do you know how to remove the the bar around the window when it's maximized, and change the size of the buttons on the title bar?

May 13, 2008 05:44 PM PDT
http://gravatar.com/avatar/4d84ec3981443dfd9c287e845b60d2ce.jpg?d=identicon
Brian says:

In KControl => Window Decorations => DeKorator Help tab, it lists in detail how to create and edit themes. You can make the buttons bigger that way (they're simple .png files). Not sure how to remove the border for maximized windows, if that's even possible.

May 13, 2008 06:53 PM PDT
http://gravatar.com/avatar/f09c3e71e0196d93a23b9b973b2d8800.jpg?d=identicon
miker says:

Check out this theme. It's the best theme I've seen for vim so far. Especially with the Monaco font that is mentioned. Super sexy.

http://blog.infinitered.com/entries/show/8

May 15, 2008 09:41 AM PDT
http://gravatar.com/avatar/4d84ec3981443dfd9c287e845b60d2ce.jpg?d=identicon
Brian says:

Looks pretty good, probably still a bit too unsaturated for my tastes though. I don't like the font either, but to each his/her own. :)

May 15, 2008 09:50 AM PDT
http://gravatar.com/avatar/67adb7930ae3e495c0055b63fbdf0868.jpg?d=identicon
Alex says:

Looks nice, you don't happen to have such a theme for emacs do you? ;)

May 16, 2008 08:36 AM PDT
http://gravatar.com/avatar/4d84ec3981443dfd9c287e845b60d2ce.jpg?d=identicon
Brian says:

Fraid not. Writing an Emacs version, that's a scary thought isn't it. I use the dark-laptop theme for emacs personally.

May 16, 2008 09:36 AM PDT
http://gravatar.com/avatar/61f7eb565d901cbefc67039ddc5bd646.jpg?d=identicon
Alex says:

Now that's a pitty, i'd really like to give it a try on emacs. Who knows, if i get time and find the courage i might still give it a try and port it myself ;)

May 16, 2008 12:54 PM PDT
http://gravatar.com/avatar/de8e58685b9b9b0e4216ccffd90886fb.jpg?d=identicon
Jerry Freeline says:

"For some reason that's beyond me, I seem to gravitate toward purple and green"

That made me laugh, I have a kind of pink / fusia background on one of my SSH terminals which everyone always comments on... once upon a time, when all my terminals were black, I dropped a database on the wrong server... so now I suffer the worst color scheme ever in the hope that this sufferance will earn me divine protection from ever making such a catastrophic error again... and failing that ... at least I wont get it mixed up with the black one ;-)

May 30, 2008 04:21 PM PDT

Speak Your Mind

This says COWS.

Preview

Commenting Help

Email / Avatar

  • Supply your email address and your Gravatar will be used.
  • I will never email you and your address won't be published.

No HTML allowed!

All HTML is auto-escaped. Use Markdown. Examples:

  • *emphasis* = emphasis
  • **strong** = strong
  • [link](http://foo.bar) = <a href="http://foo.bar">link</a>
  • `code in backticks` = code in backticks
  •     code indented 4 spaces =
    code indented four spaces
  • > Angle-brace quoted text =
    Angle-brace quoted text