peaksea.vim 22 KB

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