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