citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

peaksea.vim (22846B)


      1 " Vim color file --- psc (peak sea color) "Lite version"
      2 " Maintainer:	Pan, Shi Zhu <Go to the following URL for my email>
      3 " URL:		http://vim.sourceforge.net/scripts/script.php?script_id=760
      4 " Last Change:	31 Oct 2008
      5 " Version:	3.3
      6 "
      7 "	Comments and e-mails are welcomed, thanks.
      8 "
      9 "	The peaksea color is simply a colorscheme with the default settings of
     10 "	the original ps_color. Lite version means there's no custom settings
     11 "	and fancy features such as integration with reloaded.vim 
     12 "
     13 "	The full version of ps_color.vim will be maintained until Vim 8.
     14 "	By then there will be only the lite version: peaksea.vim
     15 "
     16 " Note: Please set the background option in your .vimrc and/or .gvimrc
     17 "
     18 "	It is much better *not* to set 'background' option inside
     19 "	a colorscheme file.  because ":set background" inside a colorscheme
     20 "	may cause colorscheme be sourced twice or in the worst case result an
     21 "	infinite loop.
     22 "
     23 " Color Scheme Overview: 
     24 "	:ru syntax/hitest.vim
     25 "
     26 " Relevant Help: 
     27 "	:h highlight-groups
     28 "	:h psc-cterm-color-table
     29 "
     30 " Colors Order:
     31 "	#rrggbb
     32 "
     33 
     34 hi clear
     35 
     36 if exists("syntax_on")
     37   syntax reset
     38 endif
     39 
     40 let g:colors_name = expand("<sfile>:t:r")
     41 
     42 " I don't want to abuse folding, but here folding is used to avoid confusion. 
     43 if &background=='light' 
     44   " for background=light {{{2
     45   " LIGHT COLOR DEFINE START
     46 
     47   hi Normal		guifg=#000000	guibg=#e0e0e0	gui=NONE
     48   hi Search		guifg=NONE	guibg=#f8f8f8	gui=NONE
     49   hi Visual		guifg=NONE	guibg=#a6caf0	gui=NONE
     50   hi Cursor		guifg=#f0f0f0	guibg=#008000	gui=NONE
     51   " The idea of CursorIM is pretty good, however, the feature is still buggy
     52   " in the current version (Vim 7.0).
     53   " The following line will be kept commented until the bug fixed.
     54   "
     55   " hi CursorIM		guifg=#f0f0f0	guibg=#800080
     56   hi Special		guifg=#907000	guibg=NONE	gui=NONE
     57   hi Comment		guifg=#606000	guibg=NONE	gui=NONE
     58   hi Number		guifg=#907000	guibg=NONE	gui=NONE
     59   hi Constant		guifg=#007068	guibg=NONE	gui=NONE
     60   hi StatusLine		guifg=fg	guibg=#a6caf0	gui=NONE
     61   hi LineNr		guifg=#686868	guibg=NONE	gui=NONE
     62   hi Question		guifg=fg	guibg=#d0d090	gui=NONE
     63   hi PreProc		guifg=#009030	guibg=NONE	gui=NONE
     64   hi Statement		guifg=#2060a8	guibg=NONE	gui=NONE
     65   hi Type		guifg=#0850a0	guibg=NONE	gui=NONE
     66   hi Todo		guifg=#800000	guibg=#e0e090	gui=NONE
     67   " NOTE THIS IS IN THE WARM SECTION
     68   hi Error		guifg=#c03000	guibg=NONE	gui=NONE
     69   hi Identifier		guifg=#a030a0	guibg=NONE	gui=NONE
     70   hi ModeMsg		guifg=fg	guibg=#b0b0e0	gui=NONE
     71   hi VisualNOS		guifg=fg	guibg=#b0b0e0	gui=NONE
     72   hi SpecialKey		guifg=#1050a0	guibg=NONE	gui=NONE
     73   hi NonText		guifg=#002090	guibg=#d0d0d0	gui=NONE
     74   hi Directory		guifg=#a030a0	guibg=NONE	gui=NONE
     75   hi ErrorMsg		guifg=fg	guibg=#f0b090	gui=NONE
     76   hi MoreMsg		guifg=#489000	guibg=NONE	gui=NONE
     77   hi Title		guifg=#a030a0	guibg=NONE	gui=NONE
     78   hi WarningMsg		guifg=#b02000	guibg=NONE	gui=NONE
     79   hi WildMenu		guifg=fg	guibg=#d0d090	gui=NONE
     80   hi Folded		guifg=NONE	guibg=#b0e0b0	gui=NONE
     81   hi FoldColumn		guifg=fg	guibg=#90e090	gui=NONE
     82   hi DiffAdd		guifg=NONE	guibg=#b0b0e0	gui=NONE
     83   hi DiffChange		guifg=NONE	guibg=#e0b0e0	gui=NONE
     84   hi DiffDelete		guifg=#002090	guibg=#d0d0d0	gui=NONE
     85   hi DiffText		guifg=NONE	guibg=#c0e080	gui=NONE
     86   hi SignColumn		guifg=fg	guibg=#90e090	gui=NONE
     87 
     88   hi IncSearch		guifg=#f0f0f0	guibg=#806060	gui=NONE
     89   hi StatusLineNC	guifg=fg	guibg=#c0c0c0	gui=NONE
     90   hi VertSplit		guifg=fg	guibg=#c0c0c0	gui=NONE
     91   hi Underlined		guifg=#6a5acd	guibg=NONE	gui=underline
     92   hi Ignore		guifg=bg	guibg=NONE
     93   " NOTE THIS IS IN THE WARM SECTION
     94   if v:version >= 700
     95     if has('spell')
     96       hi SpellBad	guifg=NONE	guibg=NONE	guisp=#c03000
     97       hi SpellCap	guifg=NONE	guibg=NONE	guisp=#2060a8
     98       hi SpellRare	guifg=NONE	guibg=NONE	guisp=#a030a0
     99       hi SpellLocal	guifg=NONE	guibg=NONE	guisp=#007068
    100     endif
    101     hi Pmenu		guifg=fg	guibg=#e0b0e0
    102     hi PmenuSel		guifg=#f0f0f0	guibg=#806060	gui=NONE
    103     hi PmenuSbar	guifg=fg	guibg=#c0c0c0	gui=NONE
    104     hi PmenuThumb	guifg=fg	guibg=#c0e080	gui=NONE
    105     hi TabLine		guifg=fg	guibg=#c0c0c0	gui=NONE
    106     hi TabLineFill	guifg=fg	guibg=#c0c0c0	gui=NONE
    107     hi TabLineSel	guifg=fg	guibg=NONE	gui=NONE
    108     hi CursorColumn	guifg=NONE	guibg=#f0b090
    109     hi CursorLine	guifg=NONE	guibg=NONE	gui=underline
    110     hi MatchParen	guifg=NONE	guibg=#c0e080
    111   endif
    112 
    113   " LIGHT COLOR DEFINE END
    114 
    115   " Vim 7 added stuffs
    116   if v:version >= 700
    117     hi Ignore		gui=NONE
    118 
    119     " the gui=undercurl guisp could only support in Vim 7
    120     if has('spell')
    121       hi SpellBad	gui=undercurl
    122       hi SpellCap	gui=undercurl
    123       hi SpellRare	gui=undercurl
    124       hi SpellLocal	gui=undercurl
    125     endif
    126     hi TabLine		gui=underline
    127     hi TabLineFill	gui=underline
    128     hi CursorLine	gui=underline
    129   endif
    130 
    131   " For reversed stuffs, clear the reversed prop and set the bold prop again
    132   hi IncSearch		gui=bold
    133   hi StatusLine		gui=bold
    134   hi StatusLineNC	gui=bold
    135   hi VertSplit		gui=bold
    136   hi Visual		gui=bold
    137 
    138   " Enable the bold property
    139   hi Question		gui=bold
    140   hi DiffText		gui=bold
    141   hi Statement		gui=bold
    142   hi Type		gui=bold
    143   hi MoreMsg		gui=bold
    144   hi ModeMsg		gui=bold
    145   hi NonText		gui=bold
    146   hi Title		gui=bold
    147   hi DiffDelete		gui=bold
    148   hi TabLineSel		gui=bold
    149 
    150   " gui define for background=light end here
    151 
    152   if &t_Co==256
    153     " 256color light terminal support here
    154 
    155     hi Normal		ctermfg=16	ctermbg=254	cterm=NONE
    156     " Comment/Uncomment the following line to disable/enable transparency
    157     "hi Normal		ctermfg=16	ctermbg=NONE	cterm=NONE
    158     hi Search		ctermfg=NONE	ctermbg=231	cterm=NONE
    159     hi Visual		ctermfg=NONE	ctermbg=153	cterm=NONE
    160     hi Cursor		ctermfg=255	ctermbg=28	cterm=NONE
    161     " hi CursorIM	ctermfg=255	ctermbg=90
    162     hi Special		ctermfg=94	ctermbg=NONE	cterm=NONE
    163     hi Comment		ctermfg=58	ctermbg=NONE	cterm=NONE
    164     hi Number		ctermfg=94	ctermbg=NONE	cterm=NONE
    165     hi Constant		ctermfg=23	ctermbg=NONE	cterm=NONE
    166     hi StatusLine	ctermfg=fg	ctermbg=153	cterm=NONE
    167     hi LineNr		ctermfg=242	ctermbg=NONE	cterm=NONE
    168     hi Question		ctermfg=fg	ctermbg=186	cterm=NONE
    169     hi PreProc		ctermfg=29	ctermbg=NONE	cterm=NONE
    170     hi Statement	ctermfg=25	ctermbg=NONE	cterm=NONE
    171     hi Type		ctermfg=25	ctermbg=NONE	cterm=NONE
    172     hi Todo		ctermfg=88	ctermbg=186	cterm=NONE
    173     " NOTE THIS IS IN THE WARM SECTION
    174     hi Error		ctermfg=130	ctermbg=NONE	cterm=NONE
    175     hi Identifier	ctermfg=133	ctermbg=NONE	cterm=NONE
    176     hi ModeMsg		ctermfg=fg	ctermbg=146	cterm=NONE
    177     hi VisualNOS	ctermfg=fg	ctermbg=146	cterm=NONE
    178     hi SpecialKey	ctermfg=25	ctermbg=NONE	cterm=NONE
    179     hi NonText		ctermfg=18	ctermbg=252	cterm=NONE
    180     " Comment/Uncomment the following line to disable/enable transparency
    181     "hi NonText		ctermfg=18	ctermbg=NONE	cterm=NONE
    182     hi Directory	ctermfg=133	ctermbg=NONE	cterm=NONE
    183     hi ErrorMsg		ctermfg=fg	ctermbg=216	cterm=NONE
    184     hi MoreMsg		ctermfg=64	ctermbg=NONE	cterm=NONE
    185     hi Title		ctermfg=133	ctermbg=NONE	cterm=NONE
    186     hi WarningMsg	ctermfg=124	ctermbg=NONE	cterm=NONE
    187     hi WildMenu		ctermfg=fg	ctermbg=186	cterm=NONE
    188     hi Folded		ctermfg=NONE	ctermbg=151	cterm=NONE
    189     hi FoldColumn	ctermfg=fg	ctermbg=114	cterm=NONE
    190     hi DiffAdd		ctermfg=NONE	ctermbg=146	cterm=NONE
    191     hi DiffChange	ctermfg=NONE	ctermbg=182	cterm=NONE
    192     hi DiffDelete	ctermfg=18	ctermbg=252	cterm=NONE
    193     hi DiffText		ctermfg=NONE	ctermbg=150	cterm=NONE
    194     hi SignColumn	ctermfg=fg	ctermbg=114	cterm=NONE
    195 
    196     hi IncSearch	ctermfg=255	ctermbg=95	cterm=NONE
    197     hi StatusLineNC	ctermfg=fg	ctermbg=250	cterm=NONE
    198     hi VertSplit	ctermfg=fg	ctermbg=250	cterm=NONE
    199     hi Underlined	ctermfg=62	ctermbg=NONE	cterm=underline
    200     hi Ignore		ctermfg=bg	ctermbg=NONE
    201     " NOTE THIS IS IN THE WARM SECTION
    202     if v:version >= 700
    203       if has('spell')
    204         if 0
    205           " ctermsp is not supported in Vim7, we ignore it.
    206           hi SpellBad	cterm=undercurl	ctermbg=NONE	ctermfg=130
    207           hi SpellCap	cterm=undercurl	ctermbg=NONE	ctermfg=25
    208           hi SpellRare	cterm=undercurl	ctermbg=NONE	ctermfg=133
    209           hi SpellLocal	cterm=undercurl	ctermbg=NONE	ctermfg=23
    210         else
    211           hi SpellBad	cterm=undercurl	ctermbg=NONE	ctermfg=NONE
    212           hi SpellCap	cterm=undercurl	ctermbg=NONE	ctermfg=NONE
    213           hi SpellRare	cterm=undercurl	ctermbg=NONE	ctermfg=NONE
    214           hi SpellLocal	cterm=undercurl	ctermbg=NONE	ctermfg=NONE
    215         endif
    216       endif
    217       hi Pmenu		ctermfg=fg	ctermbg=182
    218       hi PmenuSel	ctermfg=255	ctermbg=95	cterm=NONE
    219       hi PmenuSbar	ctermfg=fg	ctermbg=250	cterm=NONE
    220       hi PmenuThumb	ctermfg=fg	ctermbg=150	cterm=NONE
    221       hi TabLine	ctermfg=fg	ctermbg=250	cterm=NONE
    222       hi TabLineFill	ctermfg=fg	ctermbg=250	cterm=NONE
    223       hi TabLineSel	ctermfg=fg	ctermbg=NONE	cterm=NONE
    224       hi CursorColumn	ctermfg=NONE	ctermbg=216
    225       hi CursorLine	ctermfg=NONE	ctermbg=NONE	cterm=underline
    226       hi MatchParen	ctermfg=NONE	ctermbg=150
    227     endif
    228 
    229     hi TabLine		cterm=underline
    230     hi TabLineFill	cterm=underline
    231     hi CursorLine	cterm=underline
    232 
    233     " For reversed stuffs, clear the reversed prop and set the bold prop again
    234     hi IncSearch	cterm=bold
    235     hi StatusLine	cterm=bold
    236     hi StatusLineNC	cterm=bold
    237     hi VertSplit	cterm=bold
    238     hi Visual		cterm=bold
    239 
    240     hi NonText		cterm=bold
    241     hi Question		cterm=bold
    242     hi Title		cterm=bold
    243     hi DiffDelete	cterm=bold
    244     hi DiffText		cterm=bold
    245     hi Statement	cterm=bold
    246     hi Type		cterm=bold
    247     hi MoreMsg		cterm=bold
    248     hi ModeMsg		cterm=bold
    249     hi TabLineSel	cterm=bold
    250 
    251     hi lCursor		ctermfg=bg	ctermbg=fg	cterm=NONE
    252   endif " t_Co==256
    253   " }}}2
    254 elseif &background=='dark' 
    255   " for background=dark {{{2
    256   " DARK COLOR DEFINE START
    257 
    258   hi Normal		guifg=#d0d0d0	guibg=#202020	gui=NONE
    259   hi Comment		guifg=#d0d090	guibg=NONE	gui=NONE
    260   hi Constant		guifg=#80c0e0	guibg=NONE	gui=NONE
    261   hi Number		guifg=#e0c060	guibg=NONE	gui=NONE
    262   hi Identifier		guifg=#f0c0f0	guibg=NONE	gui=NONE
    263   hi Statement		guifg=#c0d8f8	guibg=NONE	gui=NONE
    264   hi PreProc		guifg=#60f080	guibg=NONE	gui=NONE
    265   hi Type		guifg=#b0d0f0	guibg=NONE	gui=NONE
    266   hi Special		guifg=#e0c060	guibg=NONE	gui=NONE
    267   hi Error		guifg=#f08060	guibg=NONE	gui=NONE
    268   hi Todo		guifg=#800000	guibg=#d0d090	gui=NONE
    269   hi Search		guifg=NONE	guibg=#800000	gui=NONE
    270   hi Visual		guifg=#000000	guibg=#a6caf0	gui=NONE
    271   hi Cursor		guifg=#000000	guibg=#00f000	gui=NONE
    272   " NOTE THIS IS IN THE COOL SECTION
    273   " hi CursorIM		guifg=#000000	guibg=#f000f0	gui=NONE
    274   hi StatusLine		guifg=#000000	guibg=#a6caf0	gui=NONE
    275   hi LineNr		guifg=#b0b0b0	guibg=NONE	gui=NONE
    276   hi Question		guifg=#000000	guibg=#d0d090	gui=NONE
    277   hi ModeMsg		guifg=fg	guibg=#000080	gui=NONE
    278   hi VisualNOS		guifg=fg	guibg=#000080	gui=NONE
    279   hi SpecialKey		guifg=#b0d0f0	guibg=NONE	gui=NONE
    280   hi NonText		guifg=#6080f0	guibg=#101010	gui=NONE
    281   hi Directory		guifg=#80c0e0	guibg=NONE	gui=NONE
    282   hi ErrorMsg		guifg=#d0d090	guibg=#800000	gui=NONE
    283   hi MoreMsg		guifg=#c0e080	guibg=NONE	gui=NONE
    284   hi Title		guifg=#f0c0f0	guibg=NONE	gui=NONE
    285   hi WarningMsg		guifg=#f08060	guibg=NONE	gui=NONE
    286   hi WildMenu		guifg=#000000	guibg=#d0d090	gui=NONE
    287   hi Folded		guifg=NONE	guibg=#004000	gui=NONE
    288   hi FoldColumn		guifg=#e0e0e0	guibg=#008000	gui=NONE
    289   hi DiffAdd		guifg=NONE	guibg=#000080	gui=NONE
    290   hi DiffChange		guifg=NONE	guibg=#800080	gui=NONE
    291   hi DiffDelete		guifg=#6080f0	guibg=#202020	gui=NONE
    292   hi DiffText		guifg=#000000	guibg=#c0e080	gui=NONE
    293   hi SignColumn		guifg=#e0e0e0	guibg=#008000	gui=NONE
    294   hi IncSearch		guifg=#000000	guibg=#d0d0d0	gui=NONE
    295   hi StatusLineNC	guifg=#000000	guibg=#c0c0c0	gui=NONE
    296   hi VertSplit		guifg=#000000	guibg=#c0c0c0	gui=NONE
    297   hi Underlined		guifg=#80a0ff	guibg=NONE	gui=underline 
    298   hi Ignore		guifg=#000000	guibg=NONE
    299   " NOTE THIS IS IN THE COOL SECTION
    300   if v:version >= 700
    301     if has('spell')
    302     " the guisp= could only support in Vim 7
    303       hi SpellBad	guifg=NONE	guibg=NONE	guisp=#f08060
    304       hi SpellCap	guifg=NONE	guibg=NONE	guisp=#6080f0
    305       hi SpellRare	guifg=NONE	guibg=NONE	guisp=#f0c0f0
    306       hi SpellLocal	guifg=NONE	guibg=NONE	guisp=#c0d8f8
    307     endif
    308     hi Pmenu		guifg=fg	guibg=#800080
    309     hi PmenuSel		guifg=#000000	guibg=#d0d0d0	gui=NONE
    310     hi PmenuSbar	guifg=fg	guibg=#000080	gui=NONE
    311     hi PmenuThumb	guifg=fg	guibg=#008000	gui=NONE
    312     hi TabLine		guifg=fg	guibg=#008000	gui=NONE
    313     hi TabLineFill	guifg=fg	guibg=#008000	gui=NONE
    314     hi TabLineSel	guifg=fg	guibg=NONE	gui=NONE
    315     hi CursorColumn	guifg=NONE	guibg=#800000	gui=NONE
    316     hi CursorLine	guifg=NONE	guibg=NONE	gui=underline
    317     hi MatchParen	guifg=NONE	guibg=#800080
    318   endif
    319 
    320   " DARK COLOR DEFINE END
    321 
    322   " Vim 7 added stuffs
    323   if v:version >= 700
    324     hi Ignore	gui=NONE  
    325 
    326     " the gui=undercurl could only support in Vim 7
    327     if has('spell')
    328       hi SpellBad	gui=undercurl  
    329       hi SpellCap	gui=undercurl  
    330       hi SpellRare	gui=undercurl  
    331       hi SpellLocal	gui=undercurl 
    332     endif
    333     hi TabLine		gui=underline  
    334     hi TabLineFill	gui=underline  
    335     hi Underlined	gui=underline  
    336     hi CursorLine	gui=underline 
    337   endif
    338 
    339   " gui define for background=dark end here
    340 
    341   if &t_Co==8 || &t_Co==16
    342     " for 8-color and 16-color term
    343     hi Normal		ctermfg=LightGrey   ctermbg=Black
    344     hi Special		ctermfg=Yellow	    ctermbg=bg
    345     hi Comment		ctermfg=DarkYellow  ctermbg=bg
    346     hi Constant		ctermfg=Blue	    ctermbg=bg
    347     hi Number		ctermfg=Yellow	    ctermbg=bg
    348     hi LineNr		ctermfg=DarkGrey    ctermbg=bg
    349     hi PreProc		ctermfg=Green	    ctermbg=bg
    350     hi Statement	ctermfg=Cyan	    ctermbg=bg
    351     hi Type		ctermfg=Cyan	    ctermbg=bg
    352     hi Error		ctermfg=Red	    ctermbg=bg
    353     hi Identifier	ctermfg=Magenta     ctermbg=bg
    354     hi SpecialKey	ctermfg=Cyan	    ctermbg=bg
    355     hi NonText		ctermfg=Blue	    ctermbg=bg
    356     hi Directory	ctermfg=Blue	    ctermbg=bg
    357     hi MoreMsg		ctermfg=Green	    ctermbg=bg
    358     hi Title		ctermfg=Magenta     ctermbg=bg
    359     hi WarningMsg	ctermfg=Red	    ctermbg=bg
    360     hi DiffDelete	ctermfg=Blue	    ctermbg=bg
    361 
    362     hi Search		ctermfg=NONE	    ctermbg=DarkRed
    363     hi Visual		ctermfg=Black	    ctermbg=DarkCyan
    364     hi Cursor		ctermfg=Black	    ctermbg=Green
    365     hi StatusLine	ctermfg=Black	    ctermbg=DarkCyan
    366     hi Question		ctermfg=Black	    ctermbg=DarkYellow
    367     hi Todo		ctermfg=DarkRed     ctermbg=DarkYellow
    368     hi Folded		ctermfg=White	    ctermbg=DarkGreen
    369     hi ModeMsg		ctermfg=Grey	    ctermbg=DarkBlue
    370     hi VisualNOS	ctermfg=Grey	    ctermbg=DarkBlue
    371     hi ErrorMsg		ctermfg=DarkYellow  ctermbg=DarkRed
    372     hi WildMenu		ctermfg=Black	    ctermbg=DarkYellow
    373     hi FoldColumn	ctermfg=White	    ctermbg=DarkGreen
    374     hi SignColumn	ctermfg=White	    ctermbg=DarkGreen
    375     hi DiffText		ctermfg=Black	    ctermbg=DarkYellow
    376 
    377     if v:version >= 700
    378       if has('spell')
    379         hi SpellBad	ctermfg=NONE	ctermbg=DarkRed
    380         hi SpellCap	ctermfg=NONE	ctermbg=DarkBlue
    381         hi SpellRare	ctermfg=NONE	ctermbg=DarkMagenta
    382         hi SpellLocal	ctermfg=NONE	ctermbg=DarkGreen
    383       endif
    384       hi Pmenu		ctermfg=fg	ctermbg=DarkMagenta
    385       hi PmenuSel	ctermfg=Black	ctermbg=fg
    386       hi PmenuSbar	ctermfg=fg	ctermbg=DarkBlue
    387       hi PmenuThumb	ctermfg=fg	ctermbg=DarkGreen
    388       hi TabLine	ctermfg=fg	ctermbg=DarkGreen	cterm=underline
    389       hi TabLineFill	ctermfg=fg	ctermbg=DarkGreen	cterm=underline
    390       hi CursorColumn	ctermfg=NONE	ctermbg=DarkRed
    391 
    392       hi TabLineSel	ctermfg=fg	ctermbg=bg
    393       hi CursorLine	ctermfg=NONE	ctermbg=bg		cterm=underline
    394 
    395       hi MatchParen	ctermfg=NONE	ctermbg=DarkMagenta
    396     endif
    397     if &t_Co==8
    398       " 8 colour terminal support, this assumes 16 colour is available through
    399       " setting the 'bold' attribute, will get bright foreground colour.
    400       " However, the bright background color is not available for 8-color terms.
    401       "
    402       " You can manually set t_Co=16 in your .vimrc to see if your terminal
    403       " supports 16 colours, 
    404       hi DiffText	cterm=none  
    405       hi Visual		cterm=none  
    406       hi Cursor		cterm=none  
    407       hi Comment	cterm=none  
    408       hi Todo		cterm=none  
    409       hi StatusLine	cterm=none  
    410       hi Question	cterm=none  
    411       hi DiffChange	cterm=none  
    412       hi ModeMsg	cterm=none  
    413       hi VisualNOS	cterm=none  
    414       hi ErrorMsg	cterm=none  
    415       hi WildMenu	cterm=none  
    416       hi DiffAdd	cterm=none  
    417       hi Folded		cterm=none  
    418       hi DiffDelete	cterm=none  
    419       hi Normal		cterm=none  
    420       hi PmenuThumb	cterm=none 
    421       hi Search		cterm=bold  
    422       hi Special	cterm=bold  
    423       hi Constant	cterm=bold  
    424       hi Number		cterm=bold  
    425       hi LineNr		cterm=bold  
    426       hi PreProc	cterm=bold  
    427       hi Statement	cterm=bold  
    428       hi Type		cterm=bold  
    429       hi Error		cterm=bold  
    430       hi Identifier	cterm=bold  
    431       hi SpecialKey	cterm=bold  
    432       hi NonText	cterm=bold  
    433       hi MoreMsg	cterm=bold  
    434       hi Title		cterm=bold  
    435       hi WarningMsg	cterm=bold  
    436       hi FoldColumn	cterm=bold  
    437       hi SignColumn	cterm=bold  
    438       hi Directory	cterm=bold  
    439       hi DiffDelete	cterm=bold 
    440     else
    441       " Background > 7 is only available with 16 or more colors
    442 
    443       hi WarningMsg	cterm=none  
    444       hi Search		cterm=none  
    445       hi Visual		cterm=none  
    446       hi Cursor		cterm=none  
    447       hi Special	cterm=none  
    448       hi Comment	cterm=none  
    449       hi Constant	cterm=none  
    450       hi Number		cterm=none  
    451       hi LineNr		cterm=none  
    452       hi PreProc	cterm=none  
    453       hi Todo		cterm=none  
    454       hi Error		cterm=none  
    455       hi Identifier	cterm=none  
    456       hi Folded		cterm=none  
    457       hi SpecialKey	cterm=none  
    458       hi Directory	cterm=none  
    459       hi ErrorMsg	cterm=none  
    460       hi Normal		cterm=none  
    461       hi PmenuThumb	cterm=none 
    462       hi WildMenu	cterm=none  
    463       hi FoldColumn	cterm=none  
    464       hi SignColumn	cterm=none  
    465       hi DiffAdd	cterm=none  
    466       hi DiffChange	cterm=none  
    467       hi Question	cterm=none  
    468       hi StatusLine	cterm=none  
    469       hi DiffText	cterm=none 
    470       hi IncSearch	cterm=reverse  
    471       hi StatusLineNC	cterm=reverse  
    472       hi VertSplit	cterm=reverse 
    473 
    474       " Well, well, bold font with color 0-7 is not possible.
    475       " So, the Question, StatusLine, DiffText cannot act as expected.
    476 
    477       hi Statement	cterm=none  
    478       hi Type		cterm=none  
    479       hi MoreMsg	cterm=none  
    480       hi ModeMsg	cterm=none  
    481       hi NonText	cterm=none  
    482       hi Title		cterm=none  
    483       hi VisualNOS	cterm=none  
    484       hi DiffDelete	cterm=none  
    485       hi TabLineSel	cterm=none 
    486 
    487     endif
    488   elseif &t_Co==256
    489     " 256color dark terminal support here
    490     hi Normal		ctermfg=252	ctermbg=234	cterm=NONE
    491     " Comment/Uncomment the following line to disable/enable transparency
    492     "hi Normal		ctermfg=252	ctermbg=NONE	cterm=NONE
    493     hi Comment		ctermfg=186	ctermbg=NONE	cterm=NONE
    494     hi Constant		ctermfg=110	ctermbg=NONE	cterm=NONE
    495     hi Number		ctermfg=179	ctermbg=NONE	cterm=NONE
    496     hi Identifier	ctermfg=219	ctermbg=NONE	cterm=NONE
    497     hi Statement	ctermfg=153	ctermbg=NONE	cterm=NONE
    498     hi PreProc		ctermfg=84	ctermbg=NONE	cterm=NONE
    499     hi Type		ctermfg=153	ctermbg=NONE	cterm=NONE
    500     hi Special		ctermfg=179	ctermbg=NONE	cterm=NONE
    501     hi Error		ctermfg=209	ctermbg=NONE	cterm=NONE
    502     hi Todo		ctermfg=88	ctermbg=186	cterm=NONE
    503     hi Search		ctermfg=NONE	ctermbg=88	cterm=NONE
    504     hi Visual		ctermfg=16	ctermbg=153	cterm=NONE
    505     hi Cursor		ctermfg=16	ctermbg=46	cterm=NONE
    506     " NOTE THIS IS IN THE COOL SECTION
    507     " hi CursorIM	ctermfg=16	ctermbg=201	cterm=NONE
    508     hi StatusLine	ctermfg=16	ctermbg=153	cterm=NONE
    509     hi LineNr		ctermfg=249	ctermbg=NONE	cterm=NONE
    510     hi Question		ctermfg=16	ctermbg=186	cterm=NONE
    511     hi ModeMsg		ctermfg=fg	ctermbg=18	cterm=NONE
    512     hi VisualNOS	ctermfg=fg	ctermbg=18	cterm=NONE
    513     hi SpecialKey	ctermfg=153	ctermbg=NONE	cterm=NONE
    514     hi NonText		ctermfg=69	ctermbg=233	cterm=NONE
    515     " Comment/Uncomment the following line to disable/enable transparency
    516     "hi NonText		ctermfg=69	ctermbg=NONE	cterm=NONE
    517     hi Directory	ctermfg=110	ctermbg=NONE	cterm=NONE
    518     hi ErrorMsg		ctermfg=186	ctermbg=88	cterm=NONE
    519     hi MoreMsg		ctermfg=150	ctermbg=NONE	cterm=NONE
    520     hi Title		ctermfg=219	ctermbg=NONE	cterm=NONE
    521     hi WarningMsg	ctermfg=209	ctermbg=NONE	cterm=NONE
    522     hi WildMenu		ctermfg=16	ctermbg=186	cterm=NONE
    523     hi Folded		ctermfg=NONE	ctermbg=22	cterm=NONE
    524     hi FoldColumn	ctermfg=254	ctermbg=28	cterm=NONE
    525     hi DiffAdd		ctermfg=NONE	ctermbg=18	cterm=NONE
    526     hi DiffChange	ctermfg=NONE	ctermbg=90	cterm=NONE
    527     hi DiffDelete	ctermfg=69	ctermbg=234	cterm=NONE
    528     hi DiffText		ctermfg=16	ctermbg=150	cterm=NONE
    529     hi SignColumn	ctermfg=254	ctermbg=28	cterm=NONE
    530     hi IncSearch	ctermfg=16	ctermbg=252	cterm=NONE
    531     hi StatusLineNC	ctermfg=16	ctermbg=250	cterm=NONE
    532     hi VertSplit	ctermfg=16	ctermbg=250	cterm=NONE
    533     hi Underlined	ctermfg=111	ctermbg=NONE	cterm=underline 
    534     hi Ignore		ctermfg=16	ctermbg=NONE
    535     " NOTE THIS IS IN THE COOL SECTION
    536     if v:version >= 700
    537       if has('spell')
    538         " the ctermsp= is not supported in Vim 7 we simply ignored
    539         if 0
    540           hi SpellBad	cterm=undercurl	ctermbg=NONE	ctermfg=209
    541           hi SpellCap	cterm=undercurl	ctermbg=NONE	ctermfg=69
    542           hi SpellRare	cterm=undercurl	ctermbg=NONE	ctermfg=219
    543           hi SpellLocal	cterm=undercurl	ctermbg=NONE	ctermfg=153
    544         else
    545           hi SpellBad	cterm=undercurl	ctermbg=NONE	ctermfg=NONE
    546           hi SpellCap	cterm=undercurl	ctermbg=NONE	ctermfg=NONE
    547           hi SpellRare	cterm=undercurl	ctermbg=NONE	ctermfg=NONE
    548           hi SpellLocal	cterm=undercurl	ctermbg=NONE	ctermfg=NONE
    549         endif
    550       endif
    551       hi Pmenu		ctermfg=fg	ctermbg=90
    552       hi PmenuSel	ctermfg=16	ctermbg=252	cterm=NONE
    553       hi PmenuSbar	ctermfg=fg	ctermbg=18	cterm=NONE
    554       hi PmenuThumb	ctermfg=fg	ctermbg=28	cterm=NONE
    555       hi TabLine	ctermfg=fg	ctermbg=28	cterm=NONE
    556       hi TabLineFill	ctermfg=fg	ctermbg=28	cterm=NONE
    557       hi TabLineSel	ctermfg=fg	ctermbg=NONE	cterm=NONE
    558       hi CursorColumn	ctermfg=NONE	ctermbg=88	cterm=NONE
    559       hi CursorLine	ctermfg=NONE	ctermbg=NONE	cterm=underline
    560       hi MatchParen	ctermfg=NONE	ctermbg=90
    561       hi TabLine	cterm=underline  
    562       hi TabLineFill	cterm=underline  
    563       hi Underlined	cterm=underline  
    564       hi CursorLine	cterm=underline 
    565     endif
    566 
    567   endif " t_Co
    568 
    569   " }}}2
    570 endif
    571 
    572 " Links:
    573 "
    574 " COLOR LINKS DEFINE START
    575 
    576 hi link		String		Constant
    577 " Character must be different from strings because in many languages
    578 " (especially C, C++) a 'char' variable is scalar while 'string' is pointer,
    579 " mistaken a 'char' for a 'string' will cause disaster!
    580 hi link		Character	Number
    581 hi link		SpecialChar	LineNr
    582 hi link		Tag		Identifier
    583 hi link		cCppOut		LineNr
    584 " The following are not standard hi links, 
    585 " these are used by DrChip
    586 hi link		Warning		MoreMsg
    587 hi link		Notice		Constant
    588 " these are used by Calendar
    589 hi link		CalToday	PreProc
    590 " these are used by TagList
    591 hi link		MyTagListTagName	IncSearch
    592 hi link		MyTagListTagScope	Constant
    593 
    594 " COLOR LINKS DEFINE END
    595 
    596 " vim:et:nosta:sw=2:ts=8:
    597 " vim600:fdm=marker:fdl=1: