New color scheme for Vim

I’ve been using dante color scheme for Vim for as long as I can remember. It’s a nice one and suits me perfectly. Sometime though I feel that need for a change and than I have to go through a rather painful process of getting something new. This time I decided to change my Vim color scheme. This process is particularly painful because:

  • there are a lot of color schemes available for Vim
  • screenshots are rarely available
  • most color schemes are designed for graphical mode (gvim), while I use console only

Anyway, I went through a number of color schemes today and decided that I like Impact. Not only it is designed for console, but it also defaults for black background, which is exactly what I use.

I tried it with both Perl files and email messages and I am satisfied with my choice. Now for some useful stuff…

Update: I came across a great page that is generated by a perl script once in a while. The goal of the page is to provide an easy way of finding a colorscheme appropriate for your tastes without the hassle of installing numerour colorschemes on your computer.

10 thoughts on “New color scheme for Vim”

  1. Sergey,

    I said that I am using console vim, not graphical vim (gvim). Impact color scheme looks great in text mode and sucks really bad in graphical mode.

    Also thanks for the link that you provided, but again, this plugin is aimed at those who run vim in graphical mode. As are those themes that it has in Recommended zone.

  2. i found the default colorscheme is pretty good. not sure the name.
    the impact one doesn’t look good on mine. it’s too light even though i have bg=dark set.

    this is my .vimrc, learn few tricks from your vim blog. thanks!

    syntax on
    set background=dark
    set smartindent
    set tabstop=4
    set autoindent
    set shiftwidth=4
    set showmatch

  3. okay. i am trying dante but the text is too light on my black background terminal. even thought i have set bg=dark. hwo was that working for you?

  4. Quing,

    does your terminal actually have a dark background? Or are you just using “set bg=dark” in the terminal with light background? You have to have it dark and have “set bg=dark” in your .vimrc. Then it looks good.

  5. in .Xdefault i have set the backgroud to be black. not sure if that’s what you meant by dark.

    but i tried the set bg=dark or light on the default vim color scheme, it works fine.

  6. Qiang,

    well… Vim will switch the colors depending on the setting of “set bg=”. It doesn’t actually know what is your terminal’s background. So if you have a terminal set to black font over white background and than use “set bg=dark”, you will most probably have a really ugly set of colors.

    Set the background of the terminal to dark (black, very dark gray or something like that) and then do “set bg=dark” in .vimrc and then choose one of the colorschemes.

    Also, the colors will appear differently depending on Vim that you run. If you have Vim in text console there will be one set of colors (usually the maximum of about 256 ANSI colors). But if you run a graphical version of vim (also known as gvim), than the number of colors available will rise to much more than 256.

    My examples are for the text mode Vim with black background and “set bg=dark” in .vimrc.

  7. random

    If you like impact you should take a look at torte. they’re pretty much the same but torte’s yellow isn’t quite as impactful. which to me is good, why would you need the built-in-perl-commands highlighted so drastically?

  8. miguel,

    Thanks for the suggestion. torte does look nice indeed. I’ll keep it running for some time – need to get used to it first. :)

    The built-in commands highlight is because I often mistype them. More than anything, I guess. :)

Leave a Comment