3 " http://www.vim.org/scripts/script.php?script_id=1454
5 " Maintainer: Shawn Axsom <axs221@gmail.com>
7 " * Place :colo baycomb in your VimRC/GVimRC file
8 " * Also add :set background=dark or :setbackground=light
9 " depending on your preference.
11 " - Thanks to Desert and OceanDeep for their color scheme
13 " - Thanks to Raimon Grau and Bob Lied for their feedback
16 " no guarantees for version 5.8 and below, but this makes it stop
19 if exists("syntax_on")
24 let g:colors_name="baycomb"
26 if &background == "dark"
27 hi Normal guifg=#a0b4e0 guibg=#11121a "1a1823
28 hi NonText guifg=#382920 guibg=bg
30 hi Folded guibg=#232235 guifg=grey
31 hi FoldColumn guibg=#0a0a18 guifg=#dbcaa5
32 hi LineNr guibg=#101124 guifg=#206aa9
33 hi StatusLine guibg=#354070 guifg=#6880ea gui=none
34 hi StatusLineNC guibg=#2c3054 guifg=#5c6dbe gui=none
35 hi VertSplit guibg=#22253c guifg=#223355 gui=none
37 hi tablinesel guibg=#515a71 guifg=#50aae5 gui=none
38 hi tabline guibg=#4d4d5f guifg=#5b7098 gui=none
39 hi tablinefill guibg=#2d2d3f guifg=#aaaaaa gui=none
46 hi MatchParen guibg=#7b5a55 guifg=#001122
48 " syntax highlighting """"""""""""""""""""""""""""""""""""""""
51 hi Comment guifg=#349d58 guibg=bg
52 hi Title guifg=#e5e5ca gui=none
53 hi Underlined guifg=#bac5ba gui=none
55 hi Statement guifg=#fca8ad gui=none "a080aa
56 hi Type guifg=#0490e8 gui=bold
57 hi Constant guifg=#5c78f0 "guibg=#111a2a
58 hi Number guifg=#4580b4 "guibg=#111a2a
59 hi PreProc guifg=#ba75cf
60 hi Special guifg=#aaaaca
61 hi Ignore guifg=grey40
62 hi Todo guifg=orangered guibg=yellow2
63 hi Error guibg=#b03452
64 hi Function guifg=#bab588 guibg=bg gui=bold
65 hi Identifier guifg=#5094c4
66 """""this section borrowed from OceanDeep/Midnight"""""
67 highlight Conditional gui=None guifg=#d0688d guibg=bg
68 highlight Repeat gui=None guifg=#e06070 guibg=bg
69 "hi Label gui=None guifg=LightGreen guibg=bg
70 highlight Operator gui=None guifg=#e8cdc0 guibg=bg
71 highlight Keyword gui=bold guifg=grey guibg=bg
72 highlight Exception gui=bold guifg=#d0a8ad guibg=bg
73 """""""""""""""""""""""""""""""""""""""""""""""""""""""
74 "end syntax highlighting """""""""""""""""""""""""""""""""""""
78 hi Directory guifg=#bbd0df
79 hi DiffText guibg=#004335
80 hi DiffChange guibg=#685b5c
81 hi DiffAdd guibg=#0a4b8c
82 hi DiffDelete guifg=#300845 guibg=#200845
83 hi ErrorMsg guibg=#ff4545
85 hi Cursor guibg=#cad5c0 guifg=#0000aa
88 hi Search guibg=darkyellow guifg=black
89 hi IncSearch guifg=#babeaa guibg=#3a4520
91 hi ModeMsg guifg=#00AACC
92 hi MoreMsg guifg=SeaGreen
93 hi Question guifg=#AABBCC
94 hi SpecialKey guifg=#90dcb0
95 hi Visual guifg=#102030 guibg=#80a0f0
96 hi VisualNOS guifg=#201a30 guibg=#a3a5FF
97 hi WarningMsg guifg=salmon
100 "hi Scrollbar guibg=grey30 guifg=tan
105 hi Pmenu guibg=#3a6595 guifg=#9aadd5
106 hi PmenuSel guibg=#4a85ba guifg=#b0d0f0
112 " color terminal definitions
113 hi Cursor ctermfg=black ctermbg=white
114 hi Normal ctermfg=grey ctermbg=black
115 hi Number ctermfg=darkgreen
116 highlight Operator ctermfg=yellow
117 highlight Conditional ctermfg=darkred
118 highlight Repeat ctermfg=darkred
119 hi Exception ctermfg=darkred
120 hi SpecialKey ctermfg=darkgreen
121 hi NonText cterm=bold ctermfg=darkgrey
122 hi Directory ctermfg=darkcyan
123 hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
124 hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
125 hi Search ctermfg=black ctermbg=darkyellow cterm=NONE
126 hi MoreMsg ctermfg=darkgreen
127 hi ModeMsg cterm=NONE ctermfg=brown
128 hi LineNr ctermfg=darkcyan ctermbg=black
129 hi Question ctermfg=green
130 hi StatusLine ctermfg=yellow ctermbg=darkblue cterm=NONE
131 hi StatusLineNC ctermfg=grey ctermbg=darkblue cterm=NONE
132 hi VertSplit ctermfg=black ctermbg=darkgrey cterm=NONE
133 hi Title ctermfg=yellow cterm=NONE
134 hi Visual ctermbg=grey ctermfg=blue cterm=NONE
135 hi VisualNOS ctermbg=grey ctermfg=blue cterm=NONE
136 hi WarningMsg ctermfg=1
137 hi WildMenu ctermfg=0 ctermbg=3
138 hi Folded ctermfg=darkgreen ctermbg=darkblue cterm=NONE
139 hi FoldColumn ctermfg=yellow ctermbg=black
141 hi DiffChange ctermbg=5
142 hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
143 hi DiffText cterm=bold ctermbg=1
144 hi Comment ctermfg=darkgreen ctermbg=black
145 hi Identifier ctermfg=cyan
147 "set comments to grey on non-Windows OS's to make sure
149 if &term == "builtin_gui" || &term == "win32"
150 hi function ctermfg=grey
151 hi Type ctermfg=darkyellow ctermbg=darkblue
152 hi IncSearch ctermfg=black ctermbg=grey cterm=NONE
153 hi Search ctermfg=black ctermbg=darkgrey cterm=NONE
155 hi function ctermfg=white
157 hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
158 hi Search ctermfg=black ctermbg=darkyellow cterm=NONE
160 """"""""""""""""""""""""""""""""""""""""""""""""""""""
162 hi Constant ctermfg=darkcyan
163 hi Special ctermfg=white
164 hi Statement ctermfg=yellow
165 hi PreProc ctermfg=darkred
166 hi Underlined ctermfg=cyan cterm=NONE
167 hi Ignore cterm=bold ctermfg=7
168 hi Ignore ctermfg=darkgrey
169 hi Error cterm=bold ctermfg=7 ctermbg=1
172 hi Pmenu ctermbg=darkblue ctermfg=lightgrey
173 hi PmenuSel ctermbg=lightblue ctermfg=white
175 hi tablinesel ctermfg=cyan ctermbg=blue
176 hi tabline ctermfg=black ctermbg=blue
177 hi tablinefill ctermfg=green ctermbg=darkblue
180 hi MatchParen ctermfg=black ctermbg=green
183 elseif &background == "light"
185 hi Normal guifg=#003255 guibg=#e8ebf0 "greyish blue2
186 hi NonText guifg=#382920 guibg=#152555
188 " syntax highlighting """"""""""""""""""""""""""""""""""""""""
190 "set comments to grey on non-Windows OS's to make sure
192 if &term == "builtin_gui" || &term == "win32"
193 hi Comment guifg=#daddb8 guibg=#308ae5
195 hi Comment guifg=darkyellow guibg=#207ada
197 """"""""""""""""""""""""""""""""""""""""""""""""""""""
199 hi Title guifg=#857540 gui=none
200 hi Underlined guifg=#8a758a
202 hi Statement guifg=#da302a gui=none
203 hi Type guifg=#307aca gui=none
204 hi Constant guifg=#3a40aa gui=none
205 hi PreProc guifg=#9570b5
206 hi Identifier guifg=#856075 "gui=bold
207 hi Special guifg=#652a7a
208 hi Ignore guifg=grey40
209 hi Todo guifg=orangered guibg=yellow2
210 hi Error guibg=#b03452
211 """""this section borrowed from OceanDeep/Midnight"""""
212 hi Number guifg=#006bcd
213 hi Function gui=None guifg=#d06d50 "or green 50b3b0
214 highlight Conditional gui=None guifg=#a50a4a
215 highlight Repeat gui=None guifg=#700d8a
216 "hi Label gui=None guifg=LightGreen guibg=bg
217 highlight Operator gui=None guifg=#e0b045
218 highlight Keyword gui=bold guifg=grey guibg=bg
219 highlight Exception gui=none guifg=#ea5460
220 """""""""""""""""""""""""""""""""""""""""""""""""""""""
221 "end syntax highlighting """""""""""""""""""""""""""""""""""""
225 hi Directory guifg=#bbd0df
230 hi ErrorMsg guibg=#ff4545
232 hi Cursor guibg=#cadaca guifg=#05293d
234 hi FoldColumn guibg=#409ae0 guifg=darkgrey
235 "hi FoldColumn guibg=#83a5cd guifg=#70459F
236 hi LineNr guibg=#409ae0 guifg=darkblue gui=bold
237 "hi LineNr guibg=#081c30 guifg=#80a0dA
238 hi StatusLine guibg=#20b5fd guifg=#0a150d gui=none
239 hi StatusLineNC guibg=#0580da guifg=#302d34 gui=none
241 hi Search guibg=#babdad guifg=#3a4520
242 hi IncSearch guifg=#dadeca guibg=#3a4520
244 hi VertSplit guibg=#525f95 guifg=grey50 gui=none
245 hi Folded guibg=#252f5d guifg=#BBDDCC
246 hi ModeMsg guifg=#00AACC
247 hi MoreMsg guifg=SeaGreen
248 hi Question guifg=#AABBCC
249 hi SpecialKey guifg=#308c70
250 hi Visual guifg=#008FBF guibg=#33DFEF
252 hi WarningMsg guifg=salmon
255 "hi Scrollbar guibg=grey30 guifg=tan
260 hi Pmenu guibg=#3a6595 guifg=#9aadd5
261 hi PmenuSel guibg=#4a85ba guifg=#b0d0f0
267 " color terminal definitions
268 hi Normal ctermfg=black ctermbg=white
269 hi Number ctermfg=blue
270 highlight Operator ctermfg=yellow
271 highlight Conditional ctermfg=magenta
272 highlight Repeat ctermfg=magenta
273 hi Exception ctermfg=red
274 hi function ctermfg=darkyellow
275 hi SpecialKey ctermfg=darkgreen
276 hi NonText cterm=bold ctermfg=darkgrey ctermbg=grey
277 hi Directory ctermfg=darkcyan
278 hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
279 hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
280 hi Search ctermfg=white ctermbg=darkyellow cterm=NONE
281 hi MoreMsg ctermfg=darkgreen
282 hi ModeMsg cterm=NONE ctermfg=brown
283 hi LineNr ctermfg=black ctermbg=blue
284 hi Question ctermfg=green
285 hi StatusLine ctermfg=cyan ctermbg=blue cterm=NONE
286 hi StatusLineNC ctermfg=grey ctermbg=darkblue cterm=NONE
287 hi VertSplit ctermfg=black ctermbg=black cterm=NONE
288 hi Title ctermfg=darkyellow ctermbg=white
289 hi Visual ctermbg=darkcyan ctermfg=cyan cterm=NONE
290 hi VisualNOS ctermbg=darkcyan ctermfg=white cterm=NONE
291 hi WarningMsg ctermfg=1
292 hi WildMenu ctermfg=0 ctermbg=3
293 hi Folded ctermfg=black ctermbg=white cterm=NONE
294 hi FoldColumn ctermfg=green ctermbg=blue
296 hi DiffChange ctermbg=5
297 hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
298 hi DiffText cterm=bold ctermbg=1
300 hi Comment ctermfg=grey ctermbg=blue
302 hi Constant ctermfg=darkblue
303 hi Special ctermfg=darkmagenta
304 hi Identifier ctermfg=darkyellow cterm=NONE
305 hi Statement ctermfg=red
306 hi PreProc ctermfg=magenta
307 hi Type ctermfg=darkcyan "or darkcyan
308 hi Underlined ctermfg=black ctermbg=white
309 hi Ignore cterm=bold ctermfg=7
310 hi Ignore ctermfg=darkgrey
311 hi Error cterm=bold ctermfg=7 ctermbg=1
314 hi Pmenu ctermbg=darkblue ctermfg=lightgrey
315 hi PmenuSel ctermbg=lightblue ctermfg=white