views:

8677

answers:

39

I think this is a relevant question for programmers and I'd like to hear other people's answers because some syntax highlighting color schemes are better on the eyes than others. This can affect productivity as much as ergonomic keyboards or anything else on here. It's about comfort and productivity. So, I'm curious.

Do you find some color schemes better adapted for some languages over others? At the other end of the spectrum, I think coding without syntax highlight is awful and slow going. Does anyone work better like this?

Thanks!

EDIT: so we'll try it as a community wiki.
Similar Question

+18  A: 
Malfist
I agree. I use zenburn in visual studio as well.
Simucal
I use Zenburn on emacs; it is *very* nice on the eyes for long days of coding. I introduced a buddy of mine to it and he uses in VS now.
Paul Nathan
+7  A: 
JaredPar
ooh, I can't tell if I like it better than zenburn or not
Malfist
Inkpot is great. I've been using it for years.
Jeremy Cantrell
BTW, it looks just as good in the terminal as it does in gvim.
Jeremy Cantrell
I used to use inkpot but couldn't handle the dark purple color on folds.
+2  A: 
mkoga
Too much gray an not enough other colors.
Malfist
Yeah ... pretty low contrast.
strager
i'm not sure why, but the colorscheme is slightly different when editing ruby than when editing php. looks better in ruby.
mkoga
+3  A: 

This is a tough one because colours are so subjective. One person's comfortable scheme is going to look like an angry fruit salad to somebody else. There's just no right answer.

Greg Hewgill
A: 

I've found peaksea to be a good mix of contrast and gentleness on the eyes for my work flow. (I wanted to stick that in here for comparative consideration. I hope that's appropriate.)

ThomasGHenry
Can you post a screenshot? I wasn't able to find one.
Simucal
http://www.freeimagehosting.net/image.php?b37058d29d.png(sorry about the lame hosting.. it was quick)
ThomasGHenry
A: 

As Malfist suggested, Zenburn. I recommend it because its easy on the eyes, easy to read, and works great with Consolas 11pt.

David Anderson
+2  A: 

I use both kib_darktango and railscast color schemes. Most of the time is spent on railscast, but I tend to switch to kib_darktango when writing python code.

I used to use camo. It's nice and worth a try. Maybe I got tired of it, but still a nice colorscheme.

My font choice is Inconsolata at 12pt. Inconsolata is a opensource font face so it is avaliable in every platform, even MS Windows. I know, Monaco is cool and Consolas is nice. But I really prefer Inconsolata and I love the fact that my editor of choice is absolutely the same -- visually and feature-wise -- everywhere I need it.

lsdr
+15  A: 

Ask Reddit: Help me find a VIM Color Scheme, has a great discussion on VIM color schemes and lists many good options.

Also, this website, VIM Color Schemes, has 391 VIM Color Schemes available with screenshots. It is broken up into language catagories if you want to see the screenshots:

Simucal
A: 
Simucal
that's nice, but I think there's to much contrast, but that's just me. :)
Malfist
@Malfist, I agree really.
Simucal
+30  A: 
Simucal
I've been using Wombat under Komodo IDE for 2 years now and I can't quit it :D
bchhun
wow, fonts look so nice in that screenshot. i wish it were so clear here on my linux system :/
Johannes Schaub - litb
I agree, both the color theme and the font looks very nice! what font is that?
jandersson
Added the font guys.
Simucal
i've had that font installed here for some time. but on my 1024x768 display, it looks bad. it needs high resolution i think. i'm already looking into better displays. maybe my next one will have 19" and 1280px or so :)
Johannes Schaub - litb
@litb: You're still on 1024x768?! Wow... I thought that nobody but my grandma (figuratively speaking) still used that, especially not bright developer guys like you. Please, do yourself a favour and upgrade, today! Skip two weeks of eating if you have to, it'll be worth it ;)
Thomas
+6  A: 
Simucal
+5  A: 
Simucal
I love 'evening'
Nick Presta
@Nick Presta, I hadn't found it before today... but it is fast approaching my favorite theme that comes with VIM.
Simucal
+2  A: 
Simucal
A: 
Simucal
Remote terminal or not.. I'm not sure if I would be able to use that very long.
Simucal
+5  A: 
Ali A
You're using ProFont! Wooo!
a paid nerd
+5  A: 
Whaledawg
I used this one all the way through college... however I think I've moved on and have begun to seek out calmer color contrasts...
Kit Roed
The important thing about Elflord is that return/break/continue/goto stand out and it becomes *really* easy to follow code flow. I haven't yet found another color scheme that does it better.
too much php
+4  A: 

There is an excellent webtool that showcases various colorschemes for vim for different types of code (c, html, java, latex etc).

http://www.cs.cmu.edu/~maverick/VimColorSchemeTest/

I use camo in that list. http://www.cs.cmu.edu/~maverick/VimColorSchemeTest/camo.vim

jinxed_coder
If you scroll up, I already posted the link.
Simucal
+13  A: 

I can't believe nobody mentioned desert, the best native dark theme.

:colorscheme desert

screenshot of desert

mike
Added link, screenshot, and command to use desert.
Simucal
+6  A: 
Jeremy Cantrell
A: 

Consider peaksea, which is well optimized for both light and dark backgrounds.

Emil
Take a screenshot of it and post it. We don'thave a good Peaksea screenshot.
Simucal
+1  A: 

I recently discovered rdark.

alt text

Peter Gibson
+5  A: 

I'm fine with "default".

+3  A: 
temoto
Which tiling wm is that? dwm, awesome?
Brian Gianforcaro
dwm. Now i use xmonad.
temoto
+1  A: 

I've been using 'synic' for a long time. Not sure how I found it, but it works for me:

http://www.vim.org/scripts/script.php?script_id=1897

Here's a link to a screenshot: http://www.exaile.org/vim.png

Dave
Not sure why the image isn't appearing, sorry. I tried to put it in the message body.
Dave
+1  A: 

I created my own Vim color scheme specifically for HTML, PHP, CSS and JavaScript, but I'm not allowed to post pictures or a hyperlink to it... so here's a copy/paste link:

bjornenki.com/blog/vim-gvim-colorscheme-website-development

+1  A: 

Every color scheme is OK, guys.

From a neuroscientific point of view choose colors that promote a strong contrast. This makes characters easily viewable and gives less strain to the eyes. Other than that, personal preference makes no difference.

Kensai
But not too strong a contrast, since this creates a lot of lateral inhibition and strains the eyes. This also depends on the ambient lighting conditions and whether the display is an anti-glare screen or not.
Konrad Rudolph
+1  A: 
Cherian
+4  A: 

I usually cycle through many colorschemes each day, but Jellybeans seems to be the one I use the most. It's dark with fairly high contrast and not too crazy colors.

Johannes Martinsson
I use jellybeans, too. I posted an answer with a screenshot of my vim.
slack3r
+1  A: 

I'm surprised by how many of these themes are dark. I like biogoo, which uses dark colours of a grey background, and I've used it for years.

Matt
[Here](http://www.geneseo.edu/~eshamb/biogoo.png)'s a screenshot for that theme.
Daenyth
+1  A: 

I really like BusyBee for Ruby. alt text

Sirupsen
pretty colors. I'm gonna tinker my existing colorscheme to pick some greens/oranges of this one. Thanks!
jeffjose
+2  A: 

I have tried quite a few colorschemes and my favorite for more than two years is jellybeans. I am using urxvt with CSApprox plugin for vim, so this might not look the same for you.

jellybeans-theme

slack3r
A: 

definitly zenburn

redouane
+3  A: 

IR_black has a great color combination.

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

Viktiglemma
+3  A: 

ir_black is my favour. http://blog.infinitered.com/entries/show/8

Jingguo Yao
+3  A: 

I use Dante Color Scheme and here is a look of it:

Dante

Sam
A: 

I may be alone in thinking zenburn is hideous. Oh well, we can't all like the same things, right?

I like most anything with 256 colors that looks great in terminal mode (urxvt) with Liberation Mono (my chosen monospace font). Envy Code R is great for smaller resolutions, though.

I cycle through several colorschemes per week, my ~/.vim/colors directory is a clone of my vim-256color github repo.

I probably spend most of my time in lettuce:

alt text

-Noah

Noah
A: 

I use Wombat, and I think it's beautiful.

Screenshot 1 Screenshot 2

Chetan
A: 

and here is another color scheme i am using which called jellybeans

theme

Sam