New VIM color scheme wombat256

I found this nice GVIM color scheme from Lars H. Nielsen called “wombat”. I wanted to use this also in normal vim, because I prefer working on the console over the graphical vim. For that I needed to convert the scheme to work in 256 color mode of xterm or KDE’s konsole. I found this site very useful to understand why and how to convert the color schemes.
Here is a screenshot and the scheme “wombat256”. To include it store the wombat256 scheme in ~/.vim/colors and add this lines into your .vimrc.

" turn syntax highlighting on
set t_Co=256
syntax on
colorscheme wombat256

VIM Wombat256
Wombat256:


 1 " Author: Gerhard Gappmeier <gerhard.gappmeier@ascolab.com>
 2 " Description: 256C Scheme for console based VIM
 3 "   Based in wombat GVIM scheme from Lars H. Nielsen (dengmao@gmail.com)
 4 " Last Change:  2009-06-01
 5
 6 set background=dark
 7
 8 hi clear
 9
10 if exists("syntax_on")
11   syntax reset
12 endif
13
14 let colors_name = "wombat256"
15
16 " Vim >= 7.0 specific colors
17 if version >= 700
18   hi CursorLine ctermbg=236 
19   hi CursorColumn ctermbg=236  
20   hi MatchParen ctermfg=7    ctermbg=243   cterm=bold
21   hi Pmenu      ctermfg=7   ctermbg=238 
22   hi PmenuSel   ctermfg=0     ctermbg=186  
23 endif
24
25 " General colors
26 hi Cursor       ctermfg=0    ctermbg=241     cterm=none
27 hi Normal       ctermfg=7    ctermbg=235   cterm=none
28 hi NonText      ctermfg=244     ctermbg=236    cterm=none
29 hi LineNr       ctermfg=243  ctermbg=0       cterm=none
30 hi StatusLine   ctermfg=7     ctermbg=238    cterm=none
31 hi StatusLineNC ctermfg=243  ctermbg=238     cterm=none
32 hi VertSplit    ctermfg=238    ctermbg=238   cterm=none
33 hi Folded       ctermbg=238  ctermfg=248     cterm=none
34 hi Title        ctermfg=7  ctermbg=0       cterm=bold
35 hi Visual       ctermfg=7     ctermbg=238    cterm=none
36 hi SpecialKey   ctermfg=244    ctermbg=236   cterm=none
37 hi DiffAdd      ctermfg=0    ctermbg=113     cterm=none
38 hi DiffChange   ctermfg=0    ctermbg=175     cterm=none
39 hi DiffDelete   ctermfg=0    ctermbg=17      cterm=none
40 hi SpellBad     ctermfg=0    ctermbg=161     cterm=none
41
42 " Syntax highlighting
43 hi Comment      ctermfg=246     ctermbg=235
44 hi Todo         ctermfg=245    cterm=italic
45 hi Constant     ctermfg=173     cterm=none
46 hi String       ctermfg=113  cterm=none
47 hi Identifier   ctermfg=186   cterm=none
48 hi Function     ctermfg=186     cterm=none
49 hi Type         ctermfg=186    cterm=none
50 hi Statement    ctermfg=117    cterm=none
51 hi Keyword      ctermfg=117  cterm=none
52 hi PreProc      ctermfg=173     cterm=none
53 hi Number       ctermfg=173   cterm=none
54 hi Special      ctermfg=194  cterm=none
55
56
Advertisements

6 Responses to “New VIM color scheme wombat256”


  1. 1 dik January 21, 2010 at 11:35 pm

    Very thanks! I use this theme.

  2. 2 Ian Morrison April 8, 2010 at 6:58 am

    is there a download link for it somewhere on this page?

  3. 3 Void January 23, 2011 at 2:09 am

    You are actually my hero. This is the first decent color scheme I found for vim which does diffs and completion menus well, but is still not too low or high contrast to sit in front of all night 🙂

  4. 5 Dante Elrik June 8, 2011 at 5:24 pm

    Hey,

    Awesome work on converting this theme to 256. Its awesome!


  1. 1 Collection of Color Schemes for VIM Editor (256-color compatible) | fuzicast Trackback on May 18, 2012 at 2:43 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s





%d bloggers like this: