sponsor Vim development Vim logo Vim Book Ad

ansi_blows.vim : Matching ANSI colorscheme for gVim and vim

 script karma  Rating 25/7, Downloaded by 1576  Comments, bugs, improvements  Vim wiki

created by
Brandon Low
 
script type
color scheme
 
description
This is a color scheme that I use to make my gVim identical (other than spell highlighting) to Vim.  In order to do this, I set the variables in the ansi_blows.vim colorscheme to exactly match the colors that my terminal emulator uses.  I've tweaked these values in both places to be very readable, to me.  Of course I suggest tweaking them for your own needs, or to match the colors that you are used to in your terminal emulator.  For convenience, I've included in comments some common color sets that I'm aware of.

Note, I made this on vim 7.2, it may not work on any prior versions, but it probably does.
 
install details
Copy the script to ~/.vim/colors
Tweak the color variables defined near the top of the script
Add "colors ansi_blows" to your .vimrc (and, if they are separate, your .gvimrc).
Enjoy a consistent vim environment.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
ansi_blows.vim 0.6 2009-03-01 7.0 Brandon Low Added Rasterman's colors to the example color sets.
ansi_blows.vim 0.5 2009-03-01 7.2 Brandon Low Initial upload
ip used for rating: 52.14.85.76

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github