]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - vim/colors/martin_krischik.vim
Remove blinking and reattach-to-user-namespace
[rbdr/dotfiles] / vim / colors / martin_krischik.vim
... / ...
CommitLineData
1"-------------------------------------------------------------------------------
2" Description: My personal colors
3" $Id: martin_krischik.vim 458 2006-11-18 09:42:10Z krischik $
4" Copyright: Copyright (C) 2006 Martin Krischik
5" Maintainer: Martin Krischik
6" $Author: krischik $
7" $Date: 2006-11-18 10:42:10 +0100 (Sa, 18 Nov 2006) $
8" Version: 3.2
9" $Revision: 458 $
10" $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/colors/martin_krischik.vim $
11" Note: Tried and Tested for 'builtin_gui', 'xterm' (KDE Konsole)
12" 'vt320'" (OpenVMS) and 'linux' (Linux Console).
13" History: 16.05.2006 MK Check that all vim 7.0 colors are set
14" 16.05.2006 MK Split GUI from terminal.
15" 24.05.2006 MK Unified Headers
16" 24.07.2006 MK Omni-Completion Colors.
17" 15.10.2006 MK Bram's suggestion for runtime integration
18" Usage: copy to colors directory
19"------------------------------------------------------------------------------
20
21" First remove all existing highlighting.
22
23set background=light
24highlight clear
25
26if exists ("syntax_on")
27 syntax reset
28endif
29
30let colors_name = "martin_krischik"
31
32if version < 700
33 " Section: works only with vim 7.0 use default otherwise {{{1
34 "
35 colorscheme default
36 "
37 " }}}1
38 finish
39elseif (&term == "builtin_gui")
40 " Section: Set GUI colors. {{{1
41 "
42 " Subsection: User-Interface Colors {{{2
43 "
44 " Group: Normal Text Colors {{{3
45 "
46 highlight Normal gui=none guifg=black guibg=white
47 highlight Search guibg=Yellow
48 highlight SpecialKey guifg=Blue
49 highlight Title gui=bold guifg=Magenta
50 highlight LineNr guifg=Brown guibg=grey80
51 highlight NonText gui=bold guifg=Blue guibg=grey80
52 highlight MatchParen guibg=Cyan
53 highlight IncSearch gui=reverse
54 "
55 " Group: Messages {{{3
56 "
57 highlight WarningMsg guifg=Red
58 highlight ErrorMsg guifg=White guibg=Red
59 highlight ModeMsg gui=bold
60 highlight MoreMsg gui=bold guifg=SeaGreen
61 highlight Question gui=bold guifg=SeaGreen
62 "
63 " Group: Spell Checker {{{3
64 "
65 highlight SpellBad gui=undercurl guisp=Red
66 highlight SpellCap gui=undercurl guisp=Blue
67 highlight SpellLocal gui=undercurl guisp=DarkCyan
68 highlight SpellRare gui=undercurl guisp=Magenta
69 "
70 " Group: Status line {{{3
71 "
72 highlight StatusLine gui=bold,reverse guifg=LightBlue2 guibg=black
73 highlight StatusLineNC gui=reverse guifg=grey75 guibg=black
74 highlight VertSplit gui=reverse guifg=LightBlue3 guibg=black
75 "
76 " Group: Visual selektio {{{3n
77 "
78 highlight Visual gui=reverse guifg=firebrick guibg=white
79 highlight VisualNOS gui=reverse guifg=firebrick guibg=black
80 "
81 " Group: tab pages line {{{3
82 "
83 highlight TabLine gui=reverse guifg=grey75 guibg=black
84 highlight TabLineFill gui=reverse
85 highlight TabLineSel gui=bold,reverse guifg=LightBlue2 guibg=black
86 "
87 " Group: Competion (omni and otherwise) menu colors {{{3
88 "
89 highlight Pmenu guibg=Grey
90 highlight PmenuSel guifg=White guibg=firebrick
91 highlight PmenuSbar guibg=LightGrey guibg=DarkGrey
92 highlight PmenuThumb gui=reverse
93 highlight WildMenu guifg=White guibg=firebrick
94 "
95 " Group: Diff colors {{{3
96 "
97 highlight DiffAdd guibg=LightBlue
98 highlight DiffChange guibg=LightMagenta
99 highlight DiffDelete gui=bold guifg=Blue guibg=LightCyan
100 highlight DiffText gui=bold guibg=Red
101 "
102 " Group: Fold colors {{{3
103 "
104 highlight FoldColumn guifg=DarkBlue guibg=Grey
105 highlight Folded guifg=DarkBlue guibg=LightGrey
106 "
107 " Group: Other Syntax Highlight Colors {{{3
108 "
109 highlight Directory guifg=Blue
110 highlight SignColumn guifg=DarkBlue guibg=Grey
111 "
112 " Group: Motif and Athena widget colors. {{{3
113 "
114 highlight Menu guifg=Black guibg=LightGrey
115 highlight Scrollbar guifg=LightGrey guibg=DarkGrey
116 highlight Tooltip guifg=Black guibg=LightGrey
117
118 " Subsection: Syntax Colors {{{2
119 "
120 " Group: Comment colors syntax-group
121 "
122 highlight Comment guifg=grey30
123 "
124 " Group: Constant colors group {{{3
125 "
126 highlight Boolean guifg=DarkOrchid3 guibg=grey95
127 highlight Character guifg=RoyalBlue3 guibg=grey95
128 highlight Constant guifg=MediumOrchid3 guibg=grey95
129 highlight Float guifg=MediumOrchid4 guibg=grey95
130 highlight Number guifg=DarkOrchid4 guibg=grey95
131 highlight String guifg=RoyalBlue4 guibg=grey95
132 "
133 " Group: Identifier colors group {{{3
134 "
135 highlight Function guifg=SteelBlue
136 highlight Identifier guifg=DarkCyan
137 "
138 " Group: Statement colors group {{{3
139 "
140 highlight Conditional gui=bold guifg=DodgerBlue4
141 highlight Exception gui=none guifg=SlateBlue4
142 highlight Keyword gui=bold guifg=RoyalBlue4
143 highlight Label gui=none guifg=SlateBlue3
144 highlight Operator gui=none guifg=RoyalBlue3
145 highlight Repeat gui=bold guifg=DodgerBlue3
146 highlight Statement gui=none guifg=RoyalBlue4
147 "
148 " Group: Preprocessor colors group {{{3
149 "
150 highlight Define guifg=brown4 guibg=snow
151 highlight Include guifg=firebrick3 guibg=snow
152 highlight Macro guifg=brown3 guibg=snow
153 highlight PreCondit guifg=red guibg=snow
154 highlight PreProc guifg=firebrick4 guibg=snow
155 "
156 " Group: type group {{{3
157 "
158 highlight StorageClass gui=none guifg=SeaGreen3
159 highlight Structure gui=none guifg=DarkSlateGray4
160 highlight Type gui=none guifg=SeaGreen4
161 highlight Typedef gui=none guifg=DarkSeaGreen4
162 "
163 " Group: special symbol group {{{3
164 "
165 highlight Special guifg=SlateBlue guibg=GhostWhite
166 highlight SpecialChar guifg=DeepPink guibg=GhostWhite
167 highlight Tag guifg=DarkSlateBlue guibg=GhostWhite
168 highlight Delimiter guifg=DarkOrchid guibg=GhostWhite
169 highlight SpecialComment guifg=VioletRed guibg=GhostWhite
170 highlight Debug guifg=maroon guibg=GhostWhite
171 "
172 " Group: text that stands out {{{3
173 "
174 highlight Underlined gui=underline guifg=SlateBlue
175 "
176 " Group: left blank, hidden {{{3
177 "
178 highlight Ignore guifg=bg
179 "
180 " Group: any erroneous construct {{{3
181 "
182 highlight Error gui=undercurl guifg=Red guibg=MistyRose
183 "
184 " Group: anything that needs extra attention {{{3
185 "
186 highlight Todo guifg=Blue guibg=Yellow
187
188 " Subsection: Cursor Colors {{{2
189 "
190 " Group: Mouse Cursor {{{3
191 "
192 highlight cCursor guifg=bg guibg=DarkRed
193 highlight Cursor guifg=bg guibg=DarkGreen
194 highlight CursorColumn guibg=FloralWhite
195 highlight CursorIM guifg=bg guibg=DarkGrey
196 highlight CursorLine guibg=cornsilk
197 highlight lCursor guifg=bg guibg=DarkMagenta
198 highlight oCursor guifg=bg guibg=DarkCyan
199 highlight vCursor guifg=bg guibg=DarkYellow
200 "
201 " Group: Text Cursor {{{3
202 "
203 set guicursor=n:block-lCursor,
204 \i:ver25-Cursor,
205 \r:hor25-Cursor,
206 \v:block-vCursor,
207 \ve:ver35-vCursor,
208 \o:hor50-oCursor-blinkwait75-blinkoff50-blinkon75,
209 \c:block-cCursor,
210 \ci:ver20-cCursor,
211 \cr:hor20-cCursor,
212 \sm:block-Cursor-blinkwait175-blinkoff150-blinkon175
213
214 syntax enable
215
216 " }}}1
217 finish
218elseif (&term == "xterm") ||
219 \ (&term == "vt320") ||
220 \ (&term == "linux")
221 " Section: Only set colors for terminals we actualy know of {{{1
222 "
223 if &term=="vt320"
224 set t_Co=8
225 else
226 set t_Co=16
227 endif
228
229 " Subsection: User Interface Colors {{{2
230 "
231 " Group: Normal Text Colors {{{3
232 "
233 highlight Normal term=none cterm=none ctermfg=Black ctermbg=LightGray
234 highlight Search term=reverse ctermbg=DarkYellow
235 highlight SpecialKey term=bold ctermfg=DarkBlue ctermbg=LightGray
236 highlight Title term=bold ctermfg=DarkMagenta ctermbg=LightGray
237 highlight LineNr term=underline ctermfg=DarkRed ctermbg=DarkGray
238 highlight NonText term=bold ctermfg=LightBlue ctermbg=LightGray
239 highlight MatchParen term=reverse ctermbg=DarkYellow
240 highlight IncSearch term=reverse cterm=reverse
241 "
242 " Group: Messages {{{3
243 "
244 highlight WarningMsg term=standout ctermfg=DarkRed ctermbg=LightGray
245 highlight ErrorMsg term=standout ctermfg=White ctermbg=DarkRed
246 highlight ModeMsg term=bold cterm=bold ctermbg=LightGray
247 highlight MoreMsg term=bold ctermfg=DarkGreen ctermbg=LightGray
248 highlight Question term=standout ctermfg=DarkGreen ctermbg=LightGray
249 "
250 " Group: Spell Checker {{{3
251 "
252 highlight SpellBad term=reverse ctermbg=LightRed
253 highlight SpellCap term=reverse ctermbg=LightBlue
254 highlight SpellLocal term=underline ctermbg=LightCyan
255 highlight SpellRare term=reverse ctermbg=LightMagenta
256 "
257 " Group: Status line {{{3
258 "
259 highlight StatusLine term=bold,reverse cterm=bold,reverse
260 highlight StatusLineNC term=reverse cterm=reverse
261 highlight VertSplit term=reverse cterm=reverse
262 "
263 " Group: Visual selektion {{{3
264 "
265 highlight Visual term=reverse cterm=reverse ctermfg=DarkRed ctermbg=LightGray
266 highlight VisualNOS term=bold,underline cterm=bold,underline
267 "
268 " Group: tab pages line {{{3
269 "
270 highlight TabLine term=reverse cterm=reverse
271 highlight TabLineFill term=reverse cterm=reverse
272 highlight TabLineSel term=bold,reverse cterm=bold,reverse
273 "
274 " Group: Menu colors {{{3
275 "
276 highlight Pmenu ctermbg=Grey
277 highlight PmenuSel ctermfg=White ctermbg=Red
278 highlight PmenuSbar ctermfg=LightGrey ctermbg=DarkGray
279 highlight PmenuThumb cterm=reverse
280 highlight WildMenu term=standout ctermfg=White ctermbg=Red
281 "
282 " Group: Diff colors {{{3
283 "
284 highlight DiffAdd term=bold ctermbg=LightBlue
285 highlight DiffChange term=bold ctermbg=LightMagenta
286 highlight DiffDelete term=bold ctermfg=LightBlue ctermbg=LightCyan
287 highlight DiffText term=reverse cterm=bold ctermbg=LightRed
288 "
289 " Group: Fold colors {{{3
290 "
291 highlight FoldColumn term=standout ctermfg=DarkBlue ctermbg=DarkGray
292 highlight Folded term=standout ctermfg=DarkBlue ctermbg=DarkGray
293 "
294 " Group: Other Syntax Highlight Colors {{{3
295 "
296 highlight Directory term=bold ctermfg=DarkBlue ctermbg=LightGray
297 highlight SignColumn term=standout ctermfg=DarkBlue ctermbg=DarkGray
298
299 " Subsection: Syntax Colors {{{2
300 "
301 " Group: Comment colors syntax-group {{{3
302 "
303 highlight Comment term=bold ctermfg=DarkGray ctermbg=LightGray
304 "
305 " Group: Constant colors group {{{3
306 "
307 highlight Boolean term=underline ctermfg=DarkRed ctermbg=LightGray
308 highlight Character term=underline ctermfg=DarkRed ctermbg=LightGray
309 highlight Constant term=underline ctermfg=DarkRed ctermbg=LightGray
310 highlight Float term=underline ctermfg=DarkRed ctermbg=LightGray
311 highlight Number term=underline ctermfg=DarkRed ctermbg=LightGray
312 highlight String term=underline ctermfg=DarkRed ctermbg=LightGray
313 "
314 " Group: Identifier colors group {{{3
315 "
316 highlight Function term=underline ctermfg=DarkCyan ctermbg=LightGray
317 highlight Identifier term=underline ctermfg=DarkCyan ctermbg=LightGray
318 "
319 " Group: Statement colors group {{{3
320 "
321 highlight Conditional term=bold ctermfg=DarkBlue ctermbg=LightGray
322 highlight Exception term=bold ctermfg=DarkBlue ctermbg=LightGray
323 highlight Keyword term=bold ctermfg=DarkBlue ctermbg=LightGray
324 highlight Label term=bold ctermfg=DarkBlue ctermbg=LightGray
325 highlight Operator term=bold ctermfg=DarkBlue ctermbg=LightGray
326 highlight Repeat term=bold ctermfg=DarkBlue ctermbg=LightGray
327 highlight Statement term=bold ctermfg=DarkBlue ctermbg=LightGray
328 "
329 " Group: Preprocessor colors group {{{3
330 "
331 highlight Define term=underline ctermfg=DarkMagenta ctermbg=LightGray
332 highlight Include term=underline ctermfg=DarkMagenta ctermbg=LightGray
333 highlight Macro term=underline ctermfg=DarkMagenta ctermbg=LightGray
334 highlight PreCondit term=underline ctermfg=DarkMagenta ctermbg=LightGray
335 highlight PreProc term=underline ctermfg=DarkMagenta ctermbg=LightGray
336 "
337 " Group: type group {{{3
338 "
339 highlight StorageClass term=underline ctermfg=DarkGreen ctermbg=LightGray
340 highlight Structure term=underline ctermfg=DarkGreen ctermbg=LightGray
341 highlight Type term=underline ctermfg=DarkGreen ctermbg=LightGray
342 highlight Typedef term=underline ctermfg=DarkGreen ctermbg=LightGray
343 "
344 " Group: special symbol group {{{3
345 "
346 highlight Special term=bold ctermfg=DarkMagenta ctermbg=LightGray
347 highlight SpecialChar term=bold ctermfg=DarkMagenta ctermbg=LightGray
348 highlight Tag term=bold ctermfg=DarkMagenta ctermbg=LightGray
349 highlight Delimiter term=bold ctermfg=DarkMagenta ctermbg=LightGray
350 highlight SpecialComment term=bold ctermfg=DarkMagenta ctermbg=LightGray
351 highlight Debug term=bold ctermfg=DarkMagenta ctermbg=LightGray
352 "
353 " Group: text that stands out {{{3
354 "
355 highlight Underlined term=underline cterm=underline ctermfg=DarkMagenta ctermbg=LightGray
356 "
357 " Group: left blank, hidden {{{3
358 "
359 highlight Ignore ctermfg=White ctermbg=grey
360 "
361 " Group: any erroneous construct {{{3
362 "
363 highlight Error term=reverse ctermfg=White ctermbg=LightRed
364 "
365 " Group: anything that needs extra attention {{{3
366 "
367 highlight Todo term=standout ctermfg=Black ctermbg=Yellow
368
369 " Subsection: Cursor Colors {{{2
370 "
371 " Group: Mouse Cursor {{{3
372 "
373 highlight Cursor ctermfg=bg ctermbg=DarkGreen
374 highlight CursorColumn term=reverse ctermbg=LightGray
375 highlight CursorIM ctermfg=bg ctermbg=DarkGrey
376 highlight CursorLine term=reverse ctermbg=LightGray
377
378 syntax enable
379
380 " }}}1
381 finish
382else
383 " Section: terminal is completely unknown - fallback to system default {{{1
384 "
385 set t_Co=8
386
387 " }}}1
388 finish
389endif
390
391"------------------------------------------------------------------------------
392" Copyright (C) 2006 Martin Krischik
393"
394" Vim is Charityware - see ":help license" or uganda.txt for licence details.
395"------------------------------------------------------------------------------
396" vim: nowrap tabstop=8 shiftwidth=3 softtabstop=3 noexpandtab
397" vim: filetype=vim foldmethod=marker textwidth=0