Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 26a59f3a30
Fetching contributors…

Cannot retrieve contributors at this time

file 597 lines (558 sloc) 22.846 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 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597
" Vim color file --- psc (peak sea color) "Lite version"
" Maintainer: Pan, Shi Zhu <Go to the following URL for my email>
" URL: http://vim.sourceforge.net/scripts/script.php?script_id=760
" Last Change: 31 Oct 2008
" Version: 3.3
"
" Comments and e-mails are welcomed, thanks.
"
" The peaksea color is simply a colorscheme with the default settings of
" the original ps_color. Lite version means there's no custom settings
" and fancy features such as integration with reloaded.vim
"
" The full version of ps_color.vim will be maintained until Vim 8.
" By then there will be only the lite version: peaksea.vim
"
" Note: Please set the background option in your .vimrc and/or .gvimrc
"
" It is much better *not* to set 'background' option inside
" a colorscheme file. because ":set background" inside a colorscheme
" may cause colorscheme be sourced twice or in the worst case result an
" infinite loop.
"
" Color Scheme Overview:
" :ru syntax/hitest.vim
"
" Relevant Help:
" :h highlight-groups
" :h psc-cterm-color-table
"
" Colors Order:
" #rrggbb
"

hi clear

if exists("syntax_on")
  syntax reset
endif

let g:colors_name = expand("<sfile>:t:r")

" I don't want to abuse folding, but here folding is used to avoid confusion.
if &background=='light'
" for background=light {{{2
" LIGHT COLOR DEFINE START

  hi Normal guifg=#000000 guibg=#e0e0e0 gui=NONE
  hi Search guifg=NONE guibg=#f8f8f8 gui=NONE
  hi Visual guifg=NONE guibg=#a6caf0 gui=NONE
  hi Cursor guifg=#f0f0f0 guibg=#008000 gui=NONE
" The idea of CursorIM is pretty good, however, the feature is still buggy
" in the current version (Vim 7.0).
" The following line will be kept commented until the bug fixed.
"
" hi CursorIM guifg=#f0f0f0 guibg=#800080
  hi Special guifg=#907000 guibg=NONE gui=NONE
  hi Comment guifg=#606000 guibg=NONE gui=NONE
  hi Number guifg=#907000 guibg=NONE gui=NONE
  hi Constant guifg=#007068 guibg=NONE gui=NONE
  hi StatusLine guifg=fg guibg=#a6caf0 gui=NONE
  hi LineNr guifg=#686868 guibg=NONE gui=NONE
  hi Question guifg=fg guibg=#d0d090 gui=NONE
  hi PreProc guifg=#009030 guibg=NONE gui=NONE
  hi Statement guifg=#2060a8 guibg=NONE gui=NONE
  hi Type guifg=#0850a0 guibg=NONE gui=NONE
  hi Todo guifg=#800000 guibg=#e0e090 gui=NONE
" NOTE THIS IS IN THE WARM SECTION
  hi Error guifg=#c03000 guibg=NONE gui=NONE
  hi Identifier guifg=#a030a0 guibg=NONE gui=NONE
  hi ModeMsg guifg=fg guibg=#b0b0e0 gui=NONE
  hi VisualNOS guifg=fg guibg=#b0b0e0 gui=NONE
  hi SpecialKey guifg=#1050a0 guibg=NONE gui=NONE
  hi NonText guifg=#002090 guibg=#d0d0d0 gui=NONE
  hi Directory guifg=#a030a0 guibg=NONE gui=NONE
  hi ErrorMsg guifg=fg guibg=#f0b090 gui=NONE
  hi MoreMsg guifg=#489000 guibg=NONE gui=NONE
  hi Title guifg=#a030a0 guibg=NONE gui=NONE
  hi WarningMsg guifg=#b02000 guibg=NONE gui=NONE
  hi WildMenu guifg=fg guibg=#d0d090 gui=NONE
  hi Folded guifg=NONE guibg=#b0e0b0 gui=NONE
  hi FoldColumn guifg=fg guibg=#90e090 gui=NONE
  hi DiffAdd guifg=NONE guibg=#b0b0e0 gui=NONE
  hi DiffChange guifg=NONE guibg=#e0b0e0 gui=NONE
  hi DiffDelete guifg=#002090 guibg=#d0d0d0 gui=NONE
  hi DiffText guifg=NONE guibg=#c0e080 gui=NONE
  hi SignColumn guifg=fg guibg=#90e090 gui=NONE

  hi IncSearch guifg=#f0f0f0 guibg=#806060 gui=NONE
  hi StatusLineNC guifg=fg guibg=#c0c0c0 gui=NONE
  hi VertSplit guifg=fg guibg=#c0c0c0 gui=NONE
  hi Underlined guifg=#6a5acd guibg=NONE gui=underline
  hi Ignore guifg=bg guibg=NONE
" NOTE THIS IS IN THE WARM SECTION
  if v:version >= 700
    if has('spell')
      hi SpellBad guifg=NONE guibg=NONE guisp=#c03000
      hi SpellCap guifg=NONE guibg=NONE guisp=#2060a8
      hi SpellRare guifg=NONE guibg=NONE guisp=#a030a0
      hi SpellLocal guifg=NONE guibg=NONE guisp=#007068
    endif
    hi Pmenu guifg=fg guibg=#e0b0e0
    hi PmenuSel guifg=#f0f0f0 guibg=#806060 gui=NONE
    hi PmenuSbar guifg=fg guibg=#c0c0c0 gui=NONE
    hi PmenuThumb guifg=fg guibg=#c0e080 gui=NONE
    hi TabLine guifg=fg guibg=#c0c0c0 gui=NONE
    hi TabLineFill guifg=fg guibg=#c0c0c0 gui=NONE
    hi TabLineSel guifg=fg guibg=NONE gui=NONE
    hi CursorColumn guifg=NONE guibg=#f0b090
    hi CursorLine guifg=NONE guibg=NONE gui=underline
    hi MatchParen guifg=NONE guibg=#c0e080
  endif

" LIGHT COLOR DEFINE END

" Vim 7 added stuffs
  if v:version >= 700
    hi Ignore gui=NONE

" the gui=undercurl guisp could only support in Vim 7
    if has('spell')
      hi SpellBad gui=undercurl
      hi SpellCap gui=undercurl
      hi SpellRare gui=undercurl
      hi SpellLocal gui=undercurl
    endif
    hi TabLine gui=underline
    hi TabLineFill gui=underline
    hi CursorLine gui=underline
  endif

" For reversed stuffs, clear the reversed prop and set the bold prop again
  hi IncSearch gui=bold
  hi StatusLine gui=bold
  hi StatusLineNC gui=bold
  hi VertSplit gui=bold
  hi Visual gui=bold

" Enable the bold property
  hi Question gui=bold
  hi DiffText gui=bold
  hi Statement gui=bold
  hi Type gui=bold
  hi MoreMsg gui=bold
  hi ModeMsg gui=bold
  hi NonText gui=bold
  hi Title gui=bold
  hi DiffDelete gui=bold
  hi TabLineSel gui=bold

" gui define for background=light end here

  if &t_Co==256
" 256color light terminal support here

    hi Normal ctermfg=16 ctermbg=254 cterm=NONE
" Comment/Uncomment the following line to disable/enable transparency
"hi Normal ctermfg=16 ctermbg=NONE cterm=NONE
    hi Search ctermfg=NONE ctermbg=231 cterm=NONE
    hi Visual ctermfg=NONE ctermbg=153 cterm=NONE
    hi Cursor ctermfg=255 ctermbg=28 cterm=NONE
" hi CursorIM ctermfg=255 ctermbg=90
    hi Special ctermfg=94 ctermbg=NONE cterm=NONE
    hi Comment ctermfg=58 ctermbg=NONE cterm=NONE
    hi Number ctermfg=94 ctermbg=NONE cterm=NONE
    hi Constant ctermfg=23 ctermbg=NONE cterm=NONE
    hi StatusLine ctermfg=fg ctermbg=153 cterm=NONE
    hi LineNr ctermfg=242 ctermbg=NONE cterm=NONE
    hi Question ctermfg=fg ctermbg=186 cterm=NONE
    hi PreProc ctermfg=29 ctermbg=NONE cterm=NONE
    hi Statement ctermfg=25 ctermbg=NONE cterm=NONE
    hi Type ctermfg=25 ctermbg=NONE cterm=NONE
    hi Todo ctermfg=88 ctermbg=186 cterm=NONE
" NOTE THIS IS IN THE WARM SECTION
    hi Error ctermfg=130 ctermbg=NONE cterm=NONE
    hi Identifier ctermfg=133 ctermbg=NONE cterm=NONE
    hi ModeMsg ctermfg=fg ctermbg=146 cterm=NONE
    hi VisualNOS ctermfg=fg ctermbg=146 cterm=NONE
    hi SpecialKey ctermfg=25 ctermbg=NONE cterm=NONE
    hi NonText ctermfg=18 ctermbg=252 cterm=NONE
" Comment/Uncomment the following line to disable/enable transparency
"hi NonText ctermfg=18 ctermbg=NONE cterm=NONE
    hi Directory ctermfg=133 ctermbg=NONE cterm=NONE
    hi ErrorMsg ctermfg=fg ctermbg=216 cterm=NONE
    hi MoreMsg ctermfg=64 ctermbg=NONE cterm=NONE
    hi Title ctermfg=133 ctermbg=NONE cterm=NONE
    hi WarningMsg ctermfg=124 ctermbg=NONE cterm=NONE
    hi WildMenu ctermfg=fg ctermbg=186 cterm=NONE
    hi Folded ctermfg=NONE ctermbg=151 cterm=NONE
    hi FoldColumn ctermfg=fg ctermbg=114 cterm=NONE
    hi DiffAdd ctermfg=NONE ctermbg=146 cterm=NONE
    hi DiffChange ctermfg=NONE ctermbg=182 cterm=NONE
    hi DiffDelete ctermfg=18 ctermbg=252 cterm=NONE
    hi DiffText ctermfg=NONE ctermbg=150 cterm=NONE
    hi SignColumn ctermfg=fg ctermbg=114 cterm=NONE

    hi IncSearch ctermfg=255 ctermbg=95 cterm=NONE
    hi StatusLineNC ctermfg=fg ctermbg=250 cterm=NONE
    hi VertSplit ctermfg=fg ctermbg=250 cterm=NONE
    hi Underlined ctermfg=62 ctermbg=NONE cterm=underline
    hi Ignore ctermfg=bg ctermbg=NONE
" NOTE THIS IS IN THE WARM SECTION
    if v:version >= 700
      if has('spell')
        if 0
" ctermsp is not supported in Vim7, we ignore it.
          hi SpellBad cterm=undercurl ctermbg=NONE ctermfg=130
          hi SpellCap cterm=undercurl ctermbg=NONE ctermfg=25
          hi SpellRare cterm=undercurl ctermbg=NONE ctermfg=133
          hi SpellLocal cterm=undercurl ctermbg=NONE ctermfg=23
        else
          hi SpellBad cterm=undercurl ctermbg=NONE ctermfg=NONE
          hi SpellCap cterm=undercurl ctermbg=NONE ctermfg=NONE
          hi SpellRare cterm=undercurl ctermbg=NONE ctermfg=NONE
          hi SpellLocal cterm=undercurl ctermbg=NONE ctermfg=NONE
        endif
      endif
      hi Pmenu ctermfg=fg ctermbg=182
      hi PmenuSel ctermfg=255 ctermbg=95 cterm=NONE
      hi PmenuSbar ctermfg=fg ctermbg=250 cterm=NONE
      hi PmenuThumb ctermfg=fg ctermbg=150 cterm=NONE
      hi TabLine ctermfg=fg ctermbg=250 cterm=NONE
      hi TabLineFill ctermfg=fg ctermbg=250 cterm=NONE
      hi TabLineSel ctermfg=fg ctermbg=NONE cterm=NONE
      hi CursorColumn ctermfg=NONE ctermbg=216
      hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
      hi MatchParen ctermfg=NONE ctermbg=150
    endif

    hi TabLine cterm=underline
    hi TabLineFill cterm=underline
    hi CursorLine cterm=underline

" For reversed stuffs, clear the reversed prop and set the bold prop again
    hi IncSearch cterm=bold
    hi StatusLine cterm=bold
    hi StatusLineNC cterm=bold
    hi VertSplit cterm=bold
    hi Visual cterm=bold

    hi NonText cterm=bold
    hi Question cterm=bold
    hi Title cterm=bold
    hi DiffDelete cterm=bold
    hi DiffText cterm=bold
    hi Statement cterm=bold
    hi Type cterm=bold
    hi MoreMsg cterm=bold
    hi ModeMsg cterm=bold
    hi TabLineSel cterm=bold

    hi lCursor ctermfg=bg ctermbg=fg cterm=NONE
  endif " t_Co==256
" }}}2
elseif &background=='dark'
" for background=dark {{{2
" DARK COLOR DEFINE START

  hi Normal guifg=#d0d0d0 guibg=#202020 gui=NONE
  hi Comment guifg=#d0d090 guibg=NONE gui=NONE
  hi Constant guifg=#80c0e0 guibg=NONE gui=NONE
  hi Number guifg=#e0c060 guibg=NONE gui=NONE
  hi Identifier guifg=#f0c0f0 guibg=NONE gui=NONE
  hi Statement guifg=#c0d8f8 guibg=NONE gui=NONE
  hi PreProc guifg=#60f080 guibg=NONE gui=NONE
  hi Type guifg=#b0d0f0 guibg=NONE gui=NONE
  hi Special guifg=#e0c060 guibg=NONE gui=NONE
  hi Error guifg=#f08060 guibg=NONE gui=NONE
  hi Todo guifg=#800000 guibg=#d0d090 gui=NONE
  hi Search guifg=NONE guibg=#800000 gui=NONE
  hi Visual guifg=#000000 guibg=#a6caf0 gui=NONE
  hi Cursor guifg=#000000 guibg=#00f000 gui=NONE
" NOTE THIS IS IN THE COOL SECTION
" hi CursorIM guifg=#000000 guibg=#f000f0 gui=NONE
  hi StatusLine guifg=#000000 guibg=#a6caf0 gui=NONE
  hi LineNr guifg=#b0b0b0 guibg=NONE gui=NONE
  hi Question guifg=#000000 guibg=#d0d090 gui=NONE
  hi ModeMsg guifg=fg guibg=#000080 gui=NONE
  hi VisualNOS guifg=fg guibg=#000080 gui=NONE
  hi SpecialKey guifg=#b0d0f0 guibg=NONE gui=NONE
  hi NonText guifg=#6080f0 guibg=#101010 gui=NONE
  hi Directory guifg=#80c0e0 guibg=NONE gui=NONE
  hi ErrorMsg guifg=#d0d090 guibg=#800000 gui=NONE
  hi MoreMsg guifg=#c0e080 guibg=NONE gui=NONE
  hi Title guifg=#f0c0f0 guibg=NONE gui=NONE
  hi WarningMsg guifg=#f08060 guibg=NONE gui=NONE
  hi WildMenu guifg=#000000 guibg=#d0d090 gui=NONE
  hi Folded guifg=NONE guibg=#004000 gui=NONE
  hi FoldColumn guifg=#e0e0e0 guibg=#008000 gui=NONE
  hi DiffAdd guifg=NONE guibg=#000080 gui=NONE
  hi DiffChange guifg=NONE guibg=#800080 gui=NONE
  hi DiffDelete guifg=#6080f0 guibg=#202020 gui=NONE
  hi DiffText guifg=#000000 guibg=#c0e080 gui=NONE
  hi SignColumn guifg=#e0e0e0 guibg=#008000 gui=NONE
  hi IncSearch guifg=#000000 guibg=#d0d0d0 gui=NONE
  hi StatusLineNC guifg=#000000 guibg=#c0c0c0 gui=NONE
  hi VertSplit guifg=#000000 guibg=#c0c0c0 gui=NONE
  hi Underlined guifg=#80a0ff guibg=NONE gui=underline
  hi Ignore guifg=#000000 guibg=NONE
" NOTE THIS IS IN THE COOL SECTION
  if v:version >= 700
    if has('spell')
" the guisp= could only support in Vim 7
      hi SpellBad guifg=NONE guibg=NONE guisp=#f08060
      hi SpellCap guifg=NONE guibg=NONE guisp=#6080f0
      hi SpellRare guifg=NONE guibg=NONE guisp=#f0c0f0
      hi SpellLocal guifg=NONE guibg=NONE guisp=#c0d8f8
    endif
    hi Pmenu guifg=fg guibg=#800080
    hi PmenuSel guifg=#000000 guibg=#d0d0d0 gui=NONE
    hi PmenuSbar guifg=fg guibg=#000080 gui=NONE
    hi PmenuThumb guifg=fg guibg=#008000 gui=NONE
    hi TabLine guifg=fg guibg=#008000 gui=NONE
    hi TabLineFill guifg=fg guibg=#008000 gui=NONE
    hi TabLineSel guifg=fg guibg=NONE gui=NONE
    hi CursorColumn guifg=NONE guibg=#800000 gui=NONE
    hi CursorLine guifg=NONE guibg=NONE gui=underline
    hi MatchParen guifg=NONE guibg=#800080
  endif

" DARK COLOR DEFINE END

" Vim 7 added stuffs
  if v:version >= 700
    hi Ignore gui=NONE

" the gui=undercurl could only support in Vim 7
    if has('spell')
      hi SpellBad gui=undercurl
      hi SpellCap gui=undercurl
      hi SpellRare gui=undercurl
      hi SpellLocal gui=undercurl
    endif
    hi TabLine gui=underline
    hi TabLineFill gui=underline
    hi Underlined gui=underline
    hi CursorLine gui=underline
  endif

" gui define for background=dark end here

  if &t_Co==8 || &t_Co==16
" for 8-color and 16-color term
    hi Normal ctermfg=LightGrey ctermbg=Black
    hi Special ctermfg=Yellow ctermbg=bg
    hi Comment ctermfg=DarkYellow ctermbg=bg
    hi Constant ctermfg=Blue ctermbg=bg
    hi Number ctermfg=Yellow ctermbg=bg
    hi LineNr ctermfg=DarkGrey ctermbg=bg
    hi PreProc ctermfg=Green ctermbg=bg
    hi Statement ctermfg=Cyan ctermbg=bg
    hi Type ctermfg=Cyan ctermbg=bg
    hi Error ctermfg=Red ctermbg=bg
    hi Identifier ctermfg=Magenta ctermbg=bg
    hi SpecialKey ctermfg=Cyan ctermbg=bg
    hi NonText ctermfg=Blue ctermbg=bg
    hi Directory ctermfg=Blue ctermbg=bg
    hi MoreMsg ctermfg=Green ctermbg=bg
    hi Title ctermfg=Magenta ctermbg=bg
    hi WarningMsg ctermfg=Red ctermbg=bg
    hi DiffDelete ctermfg=Blue ctermbg=bg

    hi Search ctermfg=NONE ctermbg=DarkRed
    hi Visual ctermfg=Black ctermbg=DarkCyan
    hi Cursor ctermfg=Black ctermbg=Green
    hi StatusLine ctermfg=Black ctermbg=DarkCyan
    hi Question ctermfg=Black ctermbg=DarkYellow
    hi Todo ctermfg=DarkRed ctermbg=DarkYellow
    hi Folded ctermfg=White ctermbg=DarkGreen
    hi ModeMsg ctermfg=Grey ctermbg=DarkBlue
    hi VisualNOS ctermfg=Grey ctermbg=DarkBlue
    hi ErrorMsg ctermfg=DarkYellow ctermbg=DarkRed
    hi WildMenu ctermfg=Black ctermbg=DarkYellow
    hi FoldColumn ctermfg=White ctermbg=DarkGreen
    hi SignColumn ctermfg=White ctermbg=DarkGreen
    hi DiffText ctermfg=Black ctermbg=DarkYellow

    if v:version >= 700
      if has('spell')
        hi SpellBad ctermfg=NONE ctermbg=DarkRed
        hi SpellCap ctermfg=NONE ctermbg=DarkBlue
        hi SpellRare ctermfg=NONE ctermbg=DarkMagenta
        hi SpellLocal ctermfg=NONE ctermbg=DarkGreen
      endif
      hi Pmenu ctermfg=fg ctermbg=DarkMagenta
      hi PmenuSel ctermfg=Black ctermbg=fg
      hi PmenuSbar ctermfg=fg ctermbg=DarkBlue
      hi PmenuThumb ctermfg=fg ctermbg=DarkGreen
      hi TabLine ctermfg=fg ctermbg=DarkGreen cterm=underline
      hi TabLineFill ctermfg=fg ctermbg=DarkGreen cterm=underline
      hi CursorColumn ctermfg=NONE ctermbg=DarkRed

      hi TabLineSel ctermfg=fg ctermbg=bg
      hi CursorLine ctermfg=NONE ctermbg=bg cterm=underline

      hi MatchParen ctermfg=NONE ctermbg=DarkMagenta
    endif
    if &t_Co==8
" 8 colour terminal support, this assumes 16 colour is available through
" setting the 'bold' attribute, will get bright foreground colour.
" However, the bright background color is not available for 8-color terms.
"
" You can manually set t_Co=16 in your .vimrc to see if your terminal
" supports 16 colours,
      hi DiffText cterm=none
      hi Visual cterm=none
      hi Cursor cterm=none
      hi Comment cterm=none
      hi Todo cterm=none
      hi StatusLine cterm=none
      hi Question cterm=none
      hi DiffChange cterm=none
      hi ModeMsg cterm=none
      hi VisualNOS cterm=none
      hi ErrorMsg cterm=none
      hi WildMenu cterm=none
      hi DiffAdd cterm=none
      hi Folded cterm=none
      hi DiffDelete cterm=none
      hi Normal cterm=none
      hi PmenuThumb cterm=none
      hi Search cterm=bold
      hi Special cterm=bold
      hi Constant cterm=bold
      hi Number cterm=bold
      hi LineNr cterm=bold
      hi PreProc cterm=bold
      hi Statement cterm=bold
      hi Type cterm=bold
      hi Error cterm=bold
      hi Identifier cterm=bold
      hi SpecialKey cterm=bold
      hi NonText cterm=bold
      hi MoreMsg cterm=bold
      hi Title cterm=bold
      hi WarningMsg cterm=bold
      hi FoldColumn cterm=bold
      hi SignColumn cterm=bold
      hi Directory cterm=bold
      hi DiffDelete cterm=bold
    else
" Background > 7 is only available with 16 or more colors

      hi WarningMsg cterm=none
      hi Search cterm=none
      hi Visual cterm=none
      hi Cursor cterm=none
      hi Special cterm=none
      hi Comment cterm=none
      hi Constant cterm=none
      hi Number cterm=none
      hi LineNr cterm=none
      hi PreProc cterm=none
      hi Todo cterm=none
      hi Error cterm=none
      hi Identifier cterm=none
      hi Folded cterm=none
      hi SpecialKey cterm=none
      hi Directory cterm=none
      hi ErrorMsg cterm=none
      hi Normal cterm=none
      hi PmenuThumb cterm=none
      hi WildMenu cterm=none
      hi FoldColumn cterm=none
      hi SignColumn cterm=none
      hi DiffAdd cterm=none
      hi DiffChange cterm=none
      hi Question cterm=none
      hi StatusLine cterm=none
      hi DiffText cterm=none
      hi IncSearch cterm=reverse
      hi StatusLineNC cterm=reverse
      hi VertSplit cterm=reverse

" Well, well, bold font with color 0-7 is not possible.
" So, the Question, StatusLine, DiffText cannot act as expected.

      hi Statement cterm=none
      hi Type cterm=none
      hi MoreMsg cterm=none
      hi ModeMsg cterm=none
      hi NonText cterm=none
      hi Title cterm=none
      hi VisualNOS cterm=none
      hi DiffDelete cterm=none
      hi TabLineSel cterm=none

    endif
  elseif &t_Co==256
" 256color dark terminal support here
    hi Normal ctermfg=252 ctermbg=234 cterm=NONE
" Comment/Uncomment the following line to disable/enable transparency
"hi Normal ctermfg=252 ctermbg=NONE cterm=NONE
    hi Comment ctermfg=186 ctermbg=NONE cterm=NONE
    hi Constant ctermfg=110 ctermbg=NONE cterm=NONE
    hi Number ctermfg=179 ctermbg=NONE cterm=NONE
    hi Identifier ctermfg=219 ctermbg=NONE cterm=NONE
    hi Statement ctermfg=153 ctermbg=NONE cterm=NONE
    hi PreProc ctermfg=84 ctermbg=NONE cterm=NONE
    hi Type ctermfg=153 ctermbg=NONE cterm=NONE
    hi Special ctermfg=179 ctermbg=NONE cterm=NONE
    hi Error ctermfg=209 ctermbg=NONE cterm=NONE
    hi Todo ctermfg=88 ctermbg=186 cterm=NONE
    hi Search ctermfg=NONE ctermbg=88 cterm=NONE
    hi Visual ctermfg=16 ctermbg=153 cterm=NONE
    hi Cursor ctermfg=16 ctermbg=46 cterm=NONE
" NOTE THIS IS IN THE COOL SECTION
" hi CursorIM ctermfg=16 ctermbg=201 cterm=NONE
    hi StatusLine ctermfg=16 ctermbg=153 cterm=NONE
    hi LineNr ctermfg=249 ctermbg=NONE cterm=NONE
    hi Question ctermfg=16 ctermbg=186 cterm=NONE
    hi ModeMsg ctermfg=fg ctermbg=18 cterm=NONE
    hi VisualNOS ctermfg=fg ctermbg=18 cterm=NONE
    hi SpecialKey ctermfg=153 ctermbg=NONE cterm=NONE
    hi NonText ctermfg=69 ctermbg=233 cterm=NONE
" Comment/Uncomment the following line to disable/enable transparency
"hi NonText ctermfg=69 ctermbg=NONE cterm=NONE
    hi Directory ctermfg=110 ctermbg=NONE cterm=NONE
    hi ErrorMsg ctermfg=186 ctermbg=88 cterm=NONE
    hi MoreMsg ctermfg=150 ctermbg=NONE cterm=NONE
    hi Title ctermfg=219 ctermbg=NONE cterm=NONE
    hi WarningMsg ctermfg=209 ctermbg=NONE cterm=NONE
    hi WildMenu ctermfg=16 ctermbg=186 cterm=NONE
    hi Folded ctermfg=NONE ctermbg=22 cterm=NONE
    hi FoldColumn ctermfg=254 ctermbg=28 cterm=NONE
    hi DiffAdd ctermfg=NONE ctermbg=18 cterm=NONE
    hi DiffChange ctermfg=NONE ctermbg=90 cterm=NONE
    hi DiffDelete ctermfg=69 ctermbg=234 cterm=NONE
    hi DiffText ctermfg=16 ctermbg=150 cterm=NONE
    hi SignColumn ctermfg=254 ctermbg=28 cterm=NONE
    hi IncSearch ctermfg=16 ctermbg=252 cterm=NONE
    hi StatusLineNC ctermfg=16 ctermbg=250 cterm=NONE
    hi VertSplit ctermfg=16 ctermbg=250 cterm=NONE
    hi Underlined ctermfg=111 ctermbg=NONE cterm=underline
    hi Ignore ctermfg=16 ctermbg=NONE
" NOTE THIS IS IN THE COOL SECTION
    if v:version >= 700
      if has('spell')
" the ctermsp= is not supported in Vim 7 we simply ignored
        if 0
          hi SpellBad cterm=undercurl ctermbg=NONE ctermfg=209
          hi SpellCap cterm=undercurl ctermbg=NONE ctermfg=69
          hi SpellRare cterm=undercurl ctermbg=NONE ctermfg=219
          hi SpellLocal cterm=undercurl ctermbg=NONE ctermfg=153
        else
          hi SpellBad cterm=undercurl ctermbg=NONE ctermfg=NONE
          hi SpellCap cterm=undercurl ctermbg=NONE ctermfg=NONE
          hi SpellRare cterm=undercurl ctermbg=NONE ctermfg=NONE
          hi SpellLocal cterm=undercurl ctermbg=NONE ctermfg=NONE
        endif
      endif
      hi Pmenu ctermfg=fg ctermbg=90
      hi PmenuSel ctermfg=16 ctermbg=252 cterm=NONE
      hi PmenuSbar ctermfg=fg ctermbg=18 cterm=NONE
      hi PmenuThumb ctermfg=fg ctermbg=28 cterm=NONE
      hi TabLine ctermfg=fg ctermbg=28 cterm=NONE
      hi TabLineFill ctermfg=fg ctermbg=28 cterm=NONE
      hi TabLineSel ctermfg=fg ctermbg=NONE cterm=NONE
      hi CursorColumn ctermfg=NONE ctermbg=88 cterm=NONE
      hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
      hi MatchParen ctermfg=NONE ctermbg=90
      hi TabLine cterm=underline
      hi TabLineFill cterm=underline
      hi Underlined cterm=underline
      hi CursorLine cterm=underline
    endif

  endif " t_Co

" }}}2
endif

" Links:
"
" COLOR LINKS DEFINE START

hi link String Constant
" Character must be different from strings because in many languages
" (especially C, C++) a 'char' variable is scalar while 'string' is pointer,
" mistaken a 'char' for a 'string' will cause disaster!
hi link Character Number
hi link SpecialChar LineNr
hi link Tag Identifier
hi link cCppOut LineNr
" The following are not standard hi links,
" these are used by DrChip
hi link Warning MoreMsg
hi link Notice Constant
" these are used by Calendar
hi link CalToday PreProc
" these are used by TagList
hi link MyTagListTagName IncSearch
hi link MyTagListTagScope Constant

" COLOR LINKS DEFINE END

" vim:et:nosta:sw=2:ts=8:
" vim600:fdm=marker:fdl=1:
Something went wrong with that request. Please try again.