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