Live data from Hacker News

Vim Colors

vimcolors.com

61–70 of 110 posts

Re: Vim Colors

#61

Earlier quoted context omitted.

Use a modern terminal?

Using a more modern terminal won't make vim magically change it's color scheme.

Nothing magical about it, but yes it will.

Or rather, vim doesn't need to change its color scheme in order to be displayed in a completely different set of colors, which is what he's talking about. If you change the color mapping of your terminal and vim doesn't immediately reflect that, then your terminal is not applying those changes to that window/tab.

Re: Vim Colors

#62

I'm probably in the minority, but I've always found that anything other than constant-coloured text on a constant-coloured background with a high contrast to be more distracting than helpful. It appears I'm not the only one: http://www.linusakesson.net/programming/syntaxhighlighting/

One thing I like with syntax highlighting is when a string or other delimited expression hasn't been closed (e.g. as I'm writing it), the following code looks like it's part of the string or expression. It creates just the slightest tension in me: "close it ... close it ... close it ...

It's a similar feeling to when I haven't saved my editing in the last minute. :)

Re: Vim Colors

#63

Can anyone recommend color schemes other than Solarized that have extensive support across board (not only vim, but all the plethora of terminal emulators, command-line applications, etc.)? Solarized is too low-contrast for me, so I have hacked-on support for hybrid (solarized syntaxes + tommorow color codes), but it's not really uniform. And, imho, well-balanced contrast is the most important thing. Non-exhaustive l…

This was always my concern too... I use noctu.vim:

https://github.com/noahfrederick/vim-noctu

It takes colours from your .Xdefaults/.Xresources, and all terminal apps just use your configured scheme.

See also: http://www.xcolors.net/

Re: Vim Colors

#65

I'm probably in the minority, but I've always found that anything other than constant-coloured text on a constant-coloured background with a high contrast to be more distracting than helpful. It appears I'm not the only one: http://www.linusakesson.net/programming/syntaxhighlighting/

Here's the vim colorscheme I use:

http://vimcolors.com/?utf8=✓&order=relevance&query=monochrom...

Re: Vim Colors

#66

So the Solarized home page starts off with this paragraph: > Solarized is a sixteen color palette (eight monotones, eight accent colors) designed for use with terminal and gui applications. It has several unique properties. I designed this colorscheme with both precise CIELAB lightness relationships and a refined set of hues based on fixed color wheel relationships. It has been tested extensively in real world use on…

First it was monokai then solarized; these days seti is pretty popular too. No matter how advanced colour matching engineering was needed for solarized, there will always be a colour scheme that just looks more beautiful... in the eyes of the beholder :) To me changing colour schemes is like changing your car - after a few years you feel it just does not shine like it used to, so you change it.

> To me changing colour schemes is like changing your car - after a few years you feel it just does not shine like it used to, so you change it.

That is why we cannot achieve perfection.

Re: Vim Colors

#68

Earlier quoted context omitted.

Using a more modern terminal won't make vim magically change it's color scheme.

Nothing magical about it, but yes it will. Or rather, vim doesn't need to change its color scheme in order to be displayed in a completely different set of colors, which is what he's talking about. If you change the color mapping of your terminal and vim doesn't immediately reflect that, then your terminal is not applying those changes to that window/tab.

Fair enough, I just tried it out and it indeed works, I was a bit ignorant ;).

I'll see if this will work out for me. Don't know what any pitfalls could be by setting the color scheme in the terminal. At least it's annoying if you use different terminals on different systems, you'll have to configure them separately, you can't put it in your dotfiles repos or something. Thanks anyway, will look into it!

Re: Vim Colors

#70

Earlier quoted context omitted.

Unpleasantly spare? http://take.ms/k83XH

loved the rainbow brackets on that, it must be so useful to see where they match up with colour.

It is! Also when your cursor is on a paren, the text editor lights up its partner: http://take.ms/PJS1p
Post reply on HN