Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7e5fb4efd0
Fetching contributors…

Cannot retrieve contributors at this time

file 397 lines (381 sloc) 15.141 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397
"-------------------------------------------------------------------------------
" Description: My personal colors
" $Id: martin_krischik.vim 458 2006-11-18 09:42:10Z krischik $
" Copyright: Copyright (C) 2006 Martin Krischik
" Maintainer: Martin Krischik
" $Author: krischik $
" $Date: 2006-11-18 10:42:10 +0100 (Sa, 18 Nov 2006) $
" Version: 3.2
" $Revision: 458 $
" $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/colors/martin_krischik.vim $
" Note: Tried and Tested for 'builtin_gui', 'xterm' (KDE Konsole)
" 'vt320'" (OpenVMS) and 'linux' (Linux Console).
" History: 16.05.2006 MK Check that all vim 7.0 colors are set
" 16.05.2006 MK Split GUI from terminal.
" 24.05.2006 MK Unified Headers
" 24.07.2006 MK Omni-Completion Colors.
" 15.10.2006 MK Bram's suggestion for runtime integration
" Usage: copy to colors directory
"------------------------------------------------------------------------------

" First remove all existing highlighting.

set background=light
highlight clear

if exists ("syntax_on")
    syntax reset
endif

let colors_name = "martin_krischik"

if version < 700
" Section: works only with vim 7.0 use default otherwise {{{1
"
   colorscheme default
"
" }}}1
   finish
elseif (&term == "builtin_gui")
" Section: Set GUI colors. {{{1
"
" Subsection: User-Interface Colors {{{2
"
" Group: Normal Text Colors {{{3
"
    highlight Normal gui=none guifg=black guibg=white
    highlight Search guibg=Yellow
    highlight SpecialKey guifg=Blue
    highlight Title gui=bold guifg=Magenta
    highlight LineNr guifg=Brown guibg=grey80
    highlight NonText gui=bold guifg=Blue guibg=grey80
    highlight MatchParen guibg=Cyan
    highlight IncSearch gui=reverse
"
" Group: Messages {{{3
"
    highlight WarningMsg guifg=Red
    highlight ErrorMsg guifg=White guibg=Red
    highlight ModeMsg gui=bold
    highlight MoreMsg gui=bold guifg=SeaGreen
    highlight Question gui=bold guifg=SeaGreen
"
" Group: Spell Checker {{{3
"
    highlight SpellBad gui=undercurl guisp=Red
    highlight SpellCap gui=undercurl guisp=Blue
    highlight SpellLocal gui=undercurl guisp=DarkCyan
    highlight SpellRare gui=undercurl guisp=Magenta
"
" Group: Status line {{{3
"
    highlight StatusLine gui=bold,reverse guifg=LightBlue2 guibg=black
    highlight StatusLineNC gui=reverse guifg=grey75 guibg=black
    highlight VertSplit gui=reverse guifg=LightBlue3 guibg=black
"
" Group: Visual selektio {{{3n
"
    highlight Visual gui=reverse guifg=firebrick guibg=white
    highlight VisualNOS gui=reverse guifg=firebrick guibg=black
"
" Group: tab pages line {{{3
"
    highlight TabLine gui=reverse guifg=grey75 guibg=black
    highlight TabLineFill gui=reverse
    highlight TabLineSel gui=bold,reverse guifg=LightBlue2 guibg=black
"
" Group: Competion (omni and otherwise) menu colors {{{3
"
    highlight Pmenu guibg=Grey
    highlight PmenuSel guifg=White guibg=firebrick
    highlight PmenuSbar guibg=LightGrey guibg=DarkGrey
    highlight PmenuThumb gui=reverse
    highlight WildMenu guifg=White guibg=firebrick
"
" Group: Diff colors {{{3
"
    highlight DiffAdd guibg=LightBlue
    highlight DiffChange guibg=LightMagenta
    highlight DiffDelete gui=bold guifg=Blue guibg=LightCyan
    highlight DiffText gui=bold guibg=Red
"
" Group: Fold colors {{{3
"
    highlight FoldColumn guifg=DarkBlue guibg=Grey
    highlight Folded guifg=DarkBlue guibg=LightGrey
"
" Group: Other Syntax Highlight Colors {{{3
"
    highlight Directory guifg=Blue
    highlight SignColumn guifg=DarkBlue guibg=Grey
"
" Group: Motif and Athena widget colors. {{{3
"
    highlight Menu guifg=Black guibg=LightGrey
    highlight Scrollbar guifg=LightGrey guibg=DarkGrey
    highlight Tooltip guifg=Black guibg=LightGrey

" Subsection: Syntax Colors {{{2
"
" Group: Comment colors syntax-group
"
    highlight Comment guifg=grey30
"
" Group: Constant colors group {{{3
"
    highlight Boolean guifg=DarkOrchid3 guibg=grey95
    highlight Character guifg=RoyalBlue3 guibg=grey95
    highlight Constant guifg=MediumOrchid3 guibg=grey95
    highlight Float guifg=MediumOrchid4 guibg=grey95
    highlight Number guifg=DarkOrchid4 guibg=grey95
    highlight String guifg=RoyalBlue4 guibg=grey95
"
" Group: Identifier colors group {{{3
"
    highlight Function guifg=SteelBlue
    highlight Identifier guifg=DarkCyan
"
" Group: Statement colors group {{{3
"
    highlight Conditional gui=bold guifg=DodgerBlue4
    highlight Exception gui=none guifg=SlateBlue4
    highlight Keyword gui=bold guifg=RoyalBlue4
    highlight Label gui=none guifg=SlateBlue3
    highlight Operator gui=none guifg=RoyalBlue3
    highlight Repeat gui=bold guifg=DodgerBlue3
    highlight Statement gui=none guifg=RoyalBlue4
"
" Group: Preprocessor colors group {{{3
"
    highlight Define guifg=brown4 guibg=snow
    highlight Include guifg=firebrick3 guibg=snow
    highlight Macro guifg=brown3 guibg=snow
    highlight PreCondit guifg=red guibg=snow
    highlight PreProc guifg=firebrick4 guibg=snow
"
" Group: type group {{{3
"
    highlight StorageClass gui=none guifg=SeaGreen3
    highlight Structure gui=none guifg=DarkSlateGray4
    highlight Type gui=none guifg=SeaGreen4
    highlight Typedef gui=none guifg=DarkSeaGreen4
"
" Group: special symbol group {{{3
"
    highlight Special guifg=SlateBlue guibg=GhostWhite
    highlight SpecialChar guifg=DeepPink guibg=GhostWhite
    highlight Tag guifg=DarkSlateBlue guibg=GhostWhite
    highlight Delimiter guifg=DarkOrchid guibg=GhostWhite
    highlight SpecialComment guifg=VioletRed guibg=GhostWhite
    highlight Debug guifg=maroon guibg=GhostWhite
"
" Group: text that stands out {{{3
"
    highlight Underlined gui=underline guifg=SlateBlue
"
" Group: left blank, hidden {{{3
"
    highlight Ignore guifg=bg
"
" Group: any erroneous construct {{{3
"
    highlight Error gui=undercurl guifg=Red guibg=MistyRose
"
" Group: anything that needs extra attention {{{3
"
    highlight Todo guifg=Blue guibg=Yellow

" Subsection: Cursor Colors {{{2
"
" Group: Mouse Cursor {{{3
"
    highlight cCursor guifg=bg guibg=DarkRed
    highlight Cursor guifg=bg guibg=DarkGreen
    highlight CursorColumn guibg=FloralWhite
    highlight CursorIM guifg=bg guibg=DarkGrey
    highlight CursorLine guibg=cornsilk
    highlight lCursor guifg=bg guibg=DarkMagenta
    highlight oCursor guifg=bg guibg=DarkCyan
    highlight vCursor guifg=bg guibg=DarkYellow
"
" Group: Text Cursor {{{3
"
    set guicursor=n:block-lCursor,
\i:ver25-Cursor,
\r:hor25-Cursor,
\v:block-vCursor,
\ve:ver35-vCursor,
\o:hor50-oCursor-blinkwait75-blinkoff50-blinkon75,
\c:block-cCursor,
\ci:ver20-cCursor,
\cr:hor20-cCursor,
\sm:block-Cursor-blinkwait175-blinkoff150-blinkon175

   syntax enable

" }}}1
   finish
elseif (&term == "xterm") ||
      \ (&term == "vt320") ||
      \ (&term == "linux")
" Section: Only set colors for terminals we actualy know of {{{1
"
    if &term=="vt320"
set t_Co=8
    else
set t_Co=16
    endif

" Subsection: User Interface Colors {{{2
"
" Group: Normal Text Colors {{{3
"
    highlight Normal term=none cterm=none ctermfg=Black ctermbg=LightGray
    highlight Search term=reverse ctermbg=DarkYellow
    highlight SpecialKey term=bold ctermfg=DarkBlue ctermbg=LightGray
    highlight Title term=bold ctermfg=DarkMagenta ctermbg=LightGray
    highlight LineNr term=underline ctermfg=DarkRed ctermbg=DarkGray
    highlight NonText term=bold ctermfg=LightBlue ctermbg=LightGray
    highlight MatchParen term=reverse ctermbg=DarkYellow
    highlight IncSearch term=reverse cterm=reverse
"
" Group: Messages {{{3
"
    highlight WarningMsg term=standout ctermfg=DarkRed ctermbg=LightGray
    highlight ErrorMsg term=standout ctermfg=White ctermbg=DarkRed
    highlight ModeMsg term=bold cterm=bold ctermbg=LightGray
    highlight MoreMsg term=bold ctermfg=DarkGreen ctermbg=LightGray
    highlight Question term=standout ctermfg=DarkGreen ctermbg=LightGray
"
" Group: Spell Checker {{{3
"
    highlight SpellBad term=reverse ctermbg=LightRed
    highlight SpellCap term=reverse ctermbg=LightBlue
    highlight SpellLocal term=underline ctermbg=LightCyan
    highlight SpellRare term=reverse ctermbg=LightMagenta
"
" Group: Status line {{{3
"
    highlight StatusLine term=bold,reverse cterm=bold,reverse
    highlight StatusLineNC term=reverse cterm=reverse
    highlight VertSplit term=reverse cterm=reverse
"
" Group: Visual selektion {{{3
"
    highlight Visual term=reverse cterm=reverse ctermfg=DarkRed ctermbg=LightGray
    highlight VisualNOS term=bold,underline cterm=bold,underline
"
" Group: tab pages line {{{3
"
    highlight TabLine term=reverse cterm=reverse
    highlight TabLineFill term=reverse cterm=reverse
    highlight TabLineSel term=bold,reverse cterm=bold,reverse
"
" Group: Menu colors {{{3
"
    highlight Pmenu ctermbg=Grey
    highlight PmenuSel ctermfg=White ctermbg=Red
    highlight PmenuSbar ctermfg=LightGrey ctermbg=DarkGray
    highlight PmenuThumb cterm=reverse
    highlight WildMenu term=standout ctermfg=White ctermbg=Red
"
" Group: Diff colors {{{3
"
    highlight DiffAdd term=bold ctermbg=LightBlue
    highlight DiffChange term=bold ctermbg=LightMagenta
    highlight DiffDelete term=bold ctermfg=LightBlue ctermbg=LightCyan
    highlight DiffText term=reverse cterm=bold ctermbg=LightRed
"
" Group: Fold colors {{{3
"
    highlight FoldColumn term=standout ctermfg=DarkBlue ctermbg=DarkGray
    highlight Folded term=standout ctermfg=DarkBlue ctermbg=DarkGray
"
" Group: Other Syntax Highlight Colors {{{3
"
    highlight Directory term=bold ctermfg=DarkBlue ctermbg=LightGray
    highlight SignColumn term=standout ctermfg=DarkBlue ctermbg=DarkGray

" Subsection: Syntax Colors {{{2
"
" Group: Comment colors syntax-group {{{3
"
    highlight Comment term=bold ctermfg=DarkGray ctermbg=LightGray
"
" Group: Constant colors group {{{3
"
    highlight Boolean term=underline ctermfg=DarkRed ctermbg=LightGray
    highlight Character term=underline ctermfg=DarkRed ctermbg=LightGray
    highlight Constant term=underline ctermfg=DarkRed ctermbg=LightGray
    highlight Float term=underline ctermfg=DarkRed ctermbg=LightGray
    highlight Number term=underline ctermfg=DarkRed ctermbg=LightGray
    highlight String term=underline ctermfg=DarkRed ctermbg=LightGray
"
" Group: Identifier colors group {{{3
"
    highlight Function term=underline ctermfg=DarkCyan ctermbg=LightGray
    highlight Identifier term=underline ctermfg=DarkCyan ctermbg=LightGray
"
" Group: Statement colors group {{{3
"
    highlight Conditional term=bold ctermfg=DarkBlue ctermbg=LightGray
    highlight Exception term=bold ctermfg=DarkBlue ctermbg=LightGray
    highlight Keyword term=bold ctermfg=DarkBlue ctermbg=LightGray
    highlight Label term=bold ctermfg=DarkBlue ctermbg=LightGray
    highlight Operator term=bold ctermfg=DarkBlue ctermbg=LightGray
    highlight Repeat term=bold ctermfg=DarkBlue ctermbg=LightGray
    highlight Statement term=bold ctermfg=DarkBlue ctermbg=LightGray
"
" Group: Preprocessor colors group {{{3
"
    highlight Define term=underline ctermfg=DarkMagenta ctermbg=LightGray
    highlight Include term=underline ctermfg=DarkMagenta ctermbg=LightGray
    highlight Macro term=underline ctermfg=DarkMagenta ctermbg=LightGray
    highlight PreCondit term=underline ctermfg=DarkMagenta ctermbg=LightGray
    highlight PreProc term=underline ctermfg=DarkMagenta ctermbg=LightGray
"
" Group: type group {{{3
"
    highlight StorageClass term=underline ctermfg=DarkGreen ctermbg=LightGray
    highlight Structure term=underline ctermfg=DarkGreen ctermbg=LightGray
    highlight Type term=underline ctermfg=DarkGreen ctermbg=LightGray
    highlight Typedef term=underline ctermfg=DarkGreen ctermbg=LightGray
"
" Group: special symbol group {{{3
"
    highlight Special term=bold ctermfg=DarkMagenta ctermbg=LightGray
    highlight SpecialChar term=bold ctermfg=DarkMagenta ctermbg=LightGray
    highlight Tag term=bold ctermfg=DarkMagenta ctermbg=LightGray
    highlight Delimiter term=bold ctermfg=DarkMagenta ctermbg=LightGray
    highlight SpecialComment term=bold ctermfg=DarkMagenta ctermbg=LightGray
    highlight Debug term=bold ctermfg=DarkMagenta ctermbg=LightGray
"
" Group: text that stands out {{{3
"
    highlight Underlined term=underline cterm=underline ctermfg=DarkMagenta ctermbg=LightGray
"
" Group: left blank, hidden {{{3
"
    highlight Ignore ctermfg=White ctermbg=grey
"
" Group: any erroneous construct {{{3
"
    highlight Error term=reverse ctermfg=White ctermbg=LightRed
"
" Group: anything that needs extra attention {{{3
"
    highlight Todo term=standout ctermfg=Black ctermbg=Yellow

" Subsection: Cursor Colors {{{2
"
" Group: Mouse Cursor {{{3
"
    highlight Cursor ctermfg=bg ctermbg=DarkGreen
    highlight CursorColumn term=reverse ctermbg=LightGray
    highlight CursorIM ctermfg=bg ctermbg=DarkGrey
    highlight CursorLine term=reverse ctermbg=LightGray

    syntax enable

" }}}1
    finish
else
" Section: terminal is completely unknown - fallback to system default {{{1
"
   set t_Co=8

" }}}1
   finish
endif

"------------------------------------------------------------------------------
" Copyright (C) 2006 Martin Krischik
"
" Vim is Charityware - see ":help license" or uganda.txt for licence details.
"------------------------------------------------------------------------------
" vim: nowrap tabstop=8 shiftwidth=3 softtabstop=3 noexpandtab
" vim: filetype=vim foldmethod=marker textwidth=0
Something went wrong with that request. Please try again.