baycomb.vim 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  1. " Vim color file
  2. " baycomb v2.4
  3. " http://www.vim.org/scripts/script.php?script_id=1454
  4. "
  5. " Maintainer: Shawn Axsom <axs221@gmail.com>
  6. "
  7. " * Place :colo baycomb in your VimRC/GVimRC file
  8. " * Also add :set background=dark or :setbackground=light
  9. " depending on your preference.
  10. "
  11. " - Thanks to Desert and OceanDeep for their color scheme
  12. " file layouts
  13. " - Thanks to Raimon Grau and Bob Lied for their feedback
  14. if version > 580
  15. " no guarantees for version 5.8 and below, but this makes it stop
  16. " complaining
  17. hi clear
  18. if exists("syntax_on")
  19. syntax reset
  20. endif
  21. endif
  22. let g:colors_name="baycomb"
  23. if &background == "dark"
  24. hi Normal guifg=#a0b4e0 guibg=#11121a "1a1823
  25. hi NonText guifg=#382920 guibg=bg
  26. hi Folded guibg=#232235 guifg=grey
  27. hi FoldColumn guibg=#0a0a18 guifg=#dbcaa5
  28. hi LineNr guibg=#101124 guifg=#206aa9
  29. hi StatusLine guibg=#354070 guifg=#6880ea gui=none
  30. hi StatusLineNC guibg=#2c3054 guifg=#5c6dbe gui=none
  31. hi VertSplit guibg=#22253c guifg=#223355 gui=none
  32. hi tablinesel guibg=#515a71 guifg=#50aae5 gui=none
  33. hi tabline guibg=#4d4d5f guifg=#5b7098 gui=none
  34. hi tablinefill guibg=#2d2d3f guifg=#aaaaaa gui=none
  35. "hi SpellBad
  36. "hi SpellCap
  37. "hi SpellLocal
  38. "hi SpellRare
  39. hi MatchParen guibg=#7b5a55 guifg=#001122
  40. " syntax highlighting """"""""""""""""""""""""""""""""""""""""
  41. hi Comment guifg=#349d58 guibg=bg
  42. hi Title guifg=#e5e5ca gui=none
  43. hi Underlined guifg=#bac5ba gui=none
  44. hi Statement guifg=#fca8ad gui=none "a080aa
  45. hi Type guifg=#0490e8 gui=bold
  46. hi Constant guifg=#5c78f0 "guibg=#111a2a
  47. hi Number guifg=#4580b4 "guibg=#111a2a
  48. hi PreProc guifg=#ba75cf
  49. hi Special guifg=#aaaaca
  50. hi Ignore guifg=grey40
  51. hi Todo guifg=orangered guibg=yellow2
  52. hi Error guibg=#b03452
  53. hi Function guifg=#bab588 guibg=bg gui=bold
  54. hi Identifier guifg=#5094c4
  55. """""this section borrowed from OceanDeep/Midnight"""""
  56. highlight Conditional gui=None guifg=#d0688d guibg=bg
  57. highlight Repeat gui=None guifg=#e06070 guibg=bg
  58. "hi Label gui=None guifg=LightGreen guibg=bg
  59. highlight Operator gui=None guifg=#e8cdc0 guibg=bg
  60. highlight Keyword gui=bold guifg=grey guibg=bg
  61. highlight Exception gui=bold guifg=#d0a8ad guibg=bg
  62. """""""""""""""""""""""""""""""""""""""""""""""""""""""
  63. "end syntax highlighting """""""""""""""""""""""""""""""""""""
  64. " highlight groups
  65. "hi CursorIM
  66. hi Directory guifg=#bbd0df
  67. hi DiffText guibg=#004335
  68. hi DiffChange guibg=#685b5c
  69. hi DiffAdd guibg=#0a4b8c
  70. hi DiffDelete guifg=#300845 guibg=#200845
  71. hi ErrorMsg guibg=#ff4545
  72. hi Cursor guibg=#cad5c0 guifg=#0000aa
  73. hi Search guibg=darkyellow guifg=black
  74. hi IncSearch guifg=#babeaa guibg=#3a4520
  75. hi ModeMsg guifg=#00AACC
  76. hi MoreMsg guifg=SeaGreen
  77. hi Question guifg=#AABBCC
  78. hi SpecialKey guifg=#90dcb0
  79. hi Visual guifg=#102030 guibg=#80a0f0
  80. hi VisualNOS guifg=#201a30 guibg=#a3a5FF
  81. hi WarningMsg guifg=salmon
  82. "hi WildMenu
  83. "hi Menu
  84. "hi Scrollbar guibg=grey30 guifg=tan
  85. "hi Tooltip
  86. " new Vim 7.0 items
  87. hi Pmenu guibg=#3a6595 guifg=#9aadd5
  88. hi PmenuSel guibg=#4a85ba guifg=#b0d0f0
  89. " color terminal definitions
  90. hi Cursor ctermfg=black ctermbg=white
  91. hi Normal ctermfg=grey ctermbg=black
  92. hi Number ctermfg=darkgreen
  93. highlight Operator ctermfg=yellow
  94. highlight Conditional ctermfg=darkred
  95. highlight Repeat ctermfg=darkred
  96. hi Exception ctermfg=darkred
  97. hi SpecialKey ctermfg=darkgreen
  98. hi NonText cterm=bold ctermfg=darkgrey
  99. hi Directory ctermfg=darkcyan
  100. hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
  101. hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
  102. hi Search ctermfg=black ctermbg=darkyellow cterm=NONE
  103. hi MoreMsg ctermfg=darkgreen
  104. hi ModeMsg cterm=NONE ctermfg=brown
  105. hi LineNr ctermfg=darkcyan ctermbg=black
  106. hi Question ctermfg=green
  107. hi StatusLine ctermfg=yellow ctermbg=darkblue cterm=NONE
  108. hi StatusLineNC ctermfg=grey ctermbg=darkblue cterm=NONE
  109. hi VertSplit ctermfg=black ctermbg=darkgrey cterm=NONE
  110. hi Title ctermfg=yellow cterm=NONE
  111. hi Visual ctermbg=grey ctermfg=blue cterm=NONE
  112. hi VisualNOS ctermbg=grey ctermfg=blue cterm=NONE
  113. hi WarningMsg ctermfg=1
  114. hi WildMenu ctermfg=0 ctermbg=3
  115. hi Folded ctermfg=darkgreen ctermbg=darkblue cterm=NONE
  116. hi FoldColumn ctermfg=yellow ctermbg=black
  117. hi DiffAdd ctermbg=4
  118. hi DiffChange ctermbg=5
  119. hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
  120. hi DiffText cterm=bold ctermbg=1
  121. hi Comment ctermfg=darkgreen ctermbg=black
  122. hi Identifier ctermfg=cyan
  123. "set comments to grey on non-Windows OS's to make sure
  124. "it is readable
  125. if &term == "builtin_gui" || &term == "win32"
  126. hi function ctermfg=grey
  127. hi Type ctermfg=darkyellow ctermbg=darkblue
  128. hi IncSearch ctermfg=black ctermbg=grey cterm=NONE
  129. hi Search ctermfg=black ctermbg=darkgrey cterm=NONE
  130. else
  131. hi function ctermfg=white
  132. hi Type ctermfg=grey
  133. hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
  134. hi Search ctermfg=black ctermbg=darkyellow cterm=NONE
  135. endif
  136. """"""""""""""""""""""""""""""""""""""""""""""""""""""
  137. hi Constant ctermfg=darkcyan
  138. hi Special ctermfg=white
  139. hi Statement ctermfg=yellow
  140. hi PreProc ctermfg=darkred
  141. hi Underlined ctermfg=cyan cterm=NONE
  142. hi Ignore cterm=bold ctermfg=7
  143. hi Ignore ctermfg=darkgrey
  144. hi Error cterm=bold ctermfg=7 ctermbg=1
  145. " new Vim 7.0 items
  146. hi Pmenu ctermbg=darkblue ctermfg=lightgrey
  147. hi PmenuSel ctermbg=lightblue ctermfg=white
  148. hi tablinesel ctermfg=cyan ctermbg=blue
  149. hi tabline ctermfg=black ctermbg=blue
  150. hi tablinefill ctermfg=green ctermbg=darkblue
  151. "vim: sw=4
  152. "
  153. hi MatchParen ctermfg=black ctermbg=green
  154. elseif &background == "light"
  155. hi Normal guifg=#003255 guibg=#e8ebf0 "greyish blue2
  156. hi NonText guifg=#382920 guibg=#152555
  157. " syntax highlighting """"""""""""""""""""""""""""""""""""""""
  158. "set comments to grey on non-Windows OS's to make sure
  159. "it is readable
  160. if &term == "builtin_gui" || &term == "win32"
  161. hi Comment guifg=#daddb8 guibg=#308ae5
  162. else
  163. hi Comment guifg=darkyellow guibg=#207ada
  164. endif
  165. """"""""""""""""""""""""""""""""""""""""""""""""""""""
  166. hi Title guifg=#857540 gui=none
  167. hi Underlined guifg=#8a758a
  168. hi Statement guifg=#da302a gui=none
  169. hi Type guifg=#307aca gui=none
  170. hi Constant guifg=#3a40aa gui=none
  171. hi PreProc guifg=#9570b5
  172. hi Identifier guifg=#856075 "gui=bold
  173. hi Special guifg=#652a7a
  174. hi Ignore guifg=grey40
  175. hi Todo guifg=orangered guibg=yellow2
  176. hi Error guibg=#b03452
  177. """""this section borrowed from OceanDeep/Midnight"""""
  178. hi Number guifg=#006bcd
  179. hi Function gui=None guifg=#d06d50 "or green 50b3b0
  180. highlight Conditional gui=None guifg=#a50a4a
  181. highlight Repeat gui=None guifg=#700d8a
  182. "hi Label gui=None guifg=LightGreen guibg=bg
  183. highlight Operator gui=None guifg=#e0b045
  184. highlight Keyword gui=bold guifg=grey guibg=bg
  185. highlight Exception gui=none guifg=#ea5460
  186. """""""""""""""""""""""""""""""""""""""""""""""""""""""
  187. "end syntax highlighting """""""""""""""""""""""""""""""""""""
  188. " highlight groups
  189. "hi CursorIM
  190. hi Directory guifg=#bbd0df
  191. "hi DiffAdd
  192. "hi DiffChange
  193. "hi DiffDelete
  194. "hi DiffText
  195. hi ErrorMsg guibg=#ff4545
  196. hi Cursor guibg=#cadaca guifg=#05293d
  197. hi FoldColumn guibg=#409ae0 guifg=darkgrey
  198. "hi FoldColumn guibg=#83a5cd guifg=#70459F
  199. hi LineNr guibg=#409ae0 guifg=darkblue gui=bold
  200. "hi LineNr guibg=#081c30 guifg=#80a0dA
  201. hi StatusLine guibg=#20b5fd guifg=#0a150d gui=none
  202. hi StatusLineNC guibg=#0580da guifg=#302d34 gui=none
  203. hi Search guibg=#babdad guifg=#3a4520
  204. hi IncSearch guifg=#dadeca guibg=#3a4520
  205. hi VertSplit guibg=#525f95 guifg=grey50 gui=none
  206. hi Folded guibg=#252f5d guifg=#BBDDCC
  207. hi ModeMsg guifg=#00AACC
  208. hi MoreMsg guifg=SeaGreen
  209. hi Question guifg=#AABBCC
  210. hi SpecialKey guifg=#308c70
  211. hi Visual guifg=#008FBF guibg=#33DFEF
  212. "hi VisualNOS
  213. hi WarningMsg guifg=salmon
  214. "hi WildMenu
  215. "hi Menu
  216. "hi Scrollbar guibg=grey30 guifg=tan
  217. "hi Tooltip
  218. " new Vim 7.0 items
  219. hi Pmenu guibg=#3a6595 guifg=#9aadd5
  220. hi PmenuSel guibg=#4a85ba guifg=#b0d0f0
  221. " color terminal definitions
  222. hi Normal ctermfg=black ctermbg=white
  223. hi Number ctermfg=blue
  224. highlight Operator ctermfg=yellow
  225. highlight Conditional ctermfg=magenta
  226. highlight Repeat ctermfg=magenta
  227. hi Exception ctermfg=red
  228. hi function ctermfg=darkyellow
  229. hi SpecialKey ctermfg=darkgreen
  230. hi NonText cterm=bold ctermfg=darkgrey ctermbg=grey
  231. hi Directory ctermfg=darkcyan
  232. hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
  233. hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
  234. hi Search ctermfg=white ctermbg=darkyellow cterm=NONE
  235. hi MoreMsg ctermfg=darkgreen
  236. hi ModeMsg cterm=NONE ctermfg=brown
  237. hi LineNr ctermfg=black ctermbg=blue
  238. hi Question ctermfg=green
  239. hi StatusLine ctermfg=cyan ctermbg=blue cterm=NONE
  240. hi StatusLineNC ctermfg=grey ctermbg=darkblue cterm=NONE
  241. hi VertSplit ctermfg=black ctermbg=black cterm=NONE
  242. hi Title ctermfg=darkyellow ctermbg=white
  243. hi Visual ctermbg=darkcyan ctermfg=cyan cterm=NONE
  244. hi VisualNOS ctermbg=darkcyan ctermfg=white cterm=NONE
  245. hi WarningMsg ctermfg=1
  246. hi WildMenu ctermfg=0 ctermbg=3
  247. hi Folded ctermfg=black ctermbg=white cterm=NONE
  248. hi FoldColumn ctermfg=green ctermbg=blue
  249. hi DiffAdd ctermbg=4
  250. hi DiffChange ctermbg=5
  251. hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
  252. hi DiffText cterm=bold ctermbg=1
  253. hi Comment ctermfg=grey ctermbg=blue
  254. hi Constant ctermfg=darkblue
  255. hi Special ctermfg=darkmagenta
  256. hi Identifier ctermfg=darkyellow cterm=NONE
  257. hi Statement ctermfg=red
  258. hi PreProc ctermfg=magenta
  259. hi Type ctermfg=darkcyan "or darkcyan
  260. hi Underlined ctermfg=black ctermbg=white
  261. hi Ignore cterm=bold ctermfg=7
  262. hi Ignore ctermfg=darkgrey
  263. hi Error cterm=bold ctermfg=7 ctermbg=1
  264. " new Vim 7.0 items
  265. hi Pmenu ctermbg=darkblue ctermfg=lightgrey
  266. hi PmenuSel ctermbg=lightblue ctermfg=white
  267. "vim: sw=4
  268. endif