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

16 Comments
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
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.
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.
Thanks for the info. I'm running Linux (have been for 11 years). No MS Windows here! :)
Thanks!
What KDE window theme are you using there?
http://www.kde-look.org/content/show.php/The+K-style:+Infinity+[official]?content=35590
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?
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.
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
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. :)
Looks nice, you don't happen to have such a theme for emacs do you? ;)
Fraid not. Writing an Emacs version, that's a scary thought isn't it. I use the dark-laptop theme for emacs personally.
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 ;)
"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 ;-)
I like it. How about submitting it to http://www.vim.org/scripts/
I submitted it when I first wrote it. http://www.vim.org/scripts/script.php?script_id=2474 It was downvoted into the negatives pretty quickly.
Speak your Mind
Preview