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