sponsor Vim development Vim logo Vim Book Ad

xoria256.vim : Finely tuned soft gamma, 256 colors, dark background, gvim == vim

 script karma  Rating 224/76, Downloaded by 5175  Comments, bugs, improvements  Vim wiki

created by
Dmitriy Zotikov
 
script type
color scheme
 
description
SVN:
* http://svn.ungrund.org/system/skel/.vim/colors/xoria256.vim

Shots:
* GUI, C code with a :split and foldings: http://i.piccy.info/i3/2f/32/04d9c2b4095038a9ee591e9ef6a3.png
* Console, C code: http://i.piccy.info/i3/e8/cd/9d32e1fd38e9c8b54848a3f59794.png
* GUI, Python: http://i.piccy.info/i3/4b/63/8815c1fbed0dfdf2a3a6af1bc83c.png
* Console, Bash: http://i.piccy.info/i3/6d/fc/f8c24fb713f396dae0127ec2339c.png

Notes:
I find this colorscheme to be IDE-compliant with its blue statements, gray comments and yelowish strings, constants and numbers. Colors should look almost similar in vim, running in any modern terminal emulator (like recent versions of xterm or konsole), and in GTK2 GUI.
 
install details
Your terminal should support 256-color terminfo definitions.  For that, install 'ncurses-term' or similar package (not installed in Ubuntu-8.10 by default, btw). Then check that you have $TERM variable properly defined (`echo $TERM` gives something like "xterm-256color"). I use gnome-terminal, and I additionally put the following into ~/.bashrc:

if [ "$COLORTERM" == "gnome-terminal" ]; then
    export TERM=xterm-256color
fi

If you plan to use screen multiplexer, you'll also have to assure, that your ~/.screenrc contains the following stuff:

term screen-256color
attrcolor b ".I"
# Tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# Erase background with current bg color.  Not needed if TERM=screen-256color
defbce "on"

When everything is set and done, copy xoria256.vim into ~/.vim/colors.  To use it, issue ':colo xoria256' in {,g}vim.
 

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
xoria256.vim 1.2 2010-04-30 7.0 Dmitriy Zotikov WildMenu uses the green as a highlight, NonText and LineNr are darker than normal text.
xoria256.vim 1.1 2009-03-30 7.0 Dmitriy Zotikov New colors in vimdiff mode (thanks, Scrool); Highlight Errors with background red (thanks, Diwaker); Make Identifier non-bold.
xoria256.vim 1.0 2009-01-25 7.0 Dmitriy Zotikov Major update. Full code rewrite, many fixes.
xoria256.vim 0.3.2 2008-05-24 7.0 Dmitriy Zotikov Small fix for 'Ignore' highlight (some elements were not displayed properly in vim :help files)
xoria256.vim 0.3.1 2008-05-15 7.0 Dmitriy Zotikov Small fixes for 'Number', 'Identifier' and 'Special' highlights. Sorry for that frequent updates, but I feel almost physical pain when I see a smallest color inconsistency. I'm still not completly satisfied with what is done, however, so, please, send me your ideas on how the scheme could be improved in your opinion.
xoria256.vim 0.3 2008-05-09 7.0 Dmitriy Zotikov Lots of changes, please upgrade!
xoria256.vim 0.2 2008-05-03 7.0 Dmitriy Zotikov Small fixes for 'Folded' and 'Number' highlights. Thanks, Diwaker!
xoria256.vim 0.1 2008-02-03 7.0 Dmitriy Zotikov Initial upload

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.
   
SourceForge.net Logo