sponsor Vim development Vim logo Vim Book Ad

calmar256-{light,dark}.vim : 256 color-scheme for a capable terminal

 script karma  Rating 67/30, Downloaded by 4317  Comments, bugs, improvements  Vim wiki

created by
calmar c
 
script type
color scheme
 
description
It should be *easy* to tweak the colors,
just tweak the numbers based on this chart:

http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
or:
http://www.calmar.ws/vim/terminalcolors.py

also see:
:help hl-<highlight-group>  and
:help highlight-groups

calmar256{light,dark}.vim generates the same color for you gvim, like in your 256 color terminal.

Screenshot:
http://www.calmar.ws/vim/calmar256-dark.vim.png
http://www.calmar.ws/vim/calmar256-light.vim.png

(Note: you may need a proper $TERM variable set, so that termcap/terminfo
knows it's a 256 color terminal. E.g. TERM=xterm-256color in xterm's case. but
especially set t_Co=256 in your .vimrc so vim knows about what you want.)

May also have a look at:
http://www.calmar.ws/vim/ (paragraph: Vim and Colors)

The file themselves (very lastest version):

http://www.calmar.ws/dotfiles/dotfiledir/calmar256-dark.vim
http://www.calmar.ws/dotfiles/dotfiledir/calmar256-light.vim

(feel free to upload improved versions etc, colors or code...)
 
install details
1. Store the color scheme in your ~/.vim/colors/  or so.
2. In vim itself or you vimrc file:
set t_Co=256
colorscheme calmar256-light        " or -dark
 

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
calmar256-light.vim 0.98 2007-08-28 6.0 calmar c Added support for 'gui' style and guisp (color for undercurl) for gvim
calmar256-dark.vim 0.98 2007-08-28 6.0 calmar c Added support for 'gui' style and guisp (color for undercurl) for gvim
ip used for rating: 54.224.52.210

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