]> git.r.bdr.sh - rbdr/dotfiles/blob - vim/colors/baycomb.vim
1311e72ce972f7e69c8c13f304ccf9b8ca272ed5
[rbdr/dotfiles] / vim / colors / baycomb.vim
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
15 if version > 580
16 " no guarantees for version 5.8 and below, but this makes it stop
17 " complaining
18 hi clear
19 if exists("syntax_on")
20 syntax reset
21 endif
22 endif
23
24 let g:colors_name="baycomb"
25
26 if &background == "dark"
27 hi Normal guifg=#a0b4e0 guibg=#11121a "1a1823
28 hi NonText guifg=#382920 guibg=bg
29
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
36
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
40
41 "hi SpellBad
42 "hi SpellCap
43 "hi SpellLocal
44 "hi SpellRare
45
46 hi MatchParen guibg=#7b5a55 guifg=#001122
47
48 " syntax highlighting """"""""""""""""""""""""""""""""""""""""
49
50
51 hi Comment guifg=#349d58 guibg=bg
52 hi Title guifg=#e5e5ca gui=none
53 hi Underlined guifg=#bac5ba gui=none
54
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 """""""""""""""""""""""""""""""""""""
75
76 " highlight groups
77 "hi CursorIM
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
84
85 hi Cursor guibg=#cad5c0 guifg=#0000aa
86
87
88 hi Search guibg=darkyellow guifg=black
89 hi IncSearch guifg=#babeaa guibg=#3a4520
90
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
98 "hi WildMenu
99 "hi Menu
100 "hi Scrollbar guibg=grey30 guifg=tan
101 "hi Tooltip
102
103
104 " new Vim 7.0 items
105 hi Pmenu guibg=#3a6595 guifg=#9aadd5
106 hi PmenuSel guibg=#4a85ba guifg=#b0d0f0
107
108
109
110
111
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
140 hi DiffAdd ctermbg=4
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
146
147 "set comments to grey on non-Windows OS's to make sure
148 "it is readable
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
154 else
155 hi function ctermfg=white
156 hi Type ctermfg=grey
157 hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
158 hi Search ctermfg=black ctermbg=darkyellow cterm=NONE
159 endif
160 """"""""""""""""""""""""""""""""""""""""""""""""""""""
161
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
170
171 " new Vim 7.0 items
172 hi Pmenu ctermbg=darkblue ctermfg=lightgrey
173 hi PmenuSel ctermbg=lightblue ctermfg=white
174
175 hi tablinesel ctermfg=cyan ctermbg=blue
176 hi tabline ctermfg=black ctermbg=blue
177 hi tablinefill ctermfg=green ctermbg=darkblue
178 "vim: sw=4
179 "
180 hi MatchParen ctermfg=black ctermbg=green
181
182
183 elseif &background == "light"
184
185 hi Normal guifg=#003255 guibg=#e8ebf0 "greyish blue2
186 hi NonText guifg=#382920 guibg=#152555
187
188 " syntax highlighting """"""""""""""""""""""""""""""""""""""""
189
190 "set comments to grey on non-Windows OS's to make sure
191 "it is readable
192 if &term == "builtin_gui" || &term == "win32"
193 hi Comment guifg=#daddb8 guibg=#308ae5
194 else
195 hi Comment guifg=darkyellow guibg=#207ada
196 endif
197 """"""""""""""""""""""""""""""""""""""""""""""""""""""
198
199 hi Title guifg=#857540 gui=none
200 hi Underlined guifg=#8a758a
201
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 """""""""""""""""""""""""""""""""""""
222
223 " highlight groups
224 "hi CursorIM
225 hi Directory guifg=#bbd0df
226 "hi DiffAdd
227 "hi DiffChange
228 "hi DiffDelete
229 "hi DiffText
230 hi ErrorMsg guibg=#ff4545
231
232 hi Cursor guibg=#cadaca guifg=#05293d
233
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
240
241 hi Search guibg=#babdad guifg=#3a4520
242 hi IncSearch guifg=#dadeca guibg=#3a4520
243
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
251 "hi VisualNOS
252 hi WarningMsg guifg=salmon
253 "hi WildMenu
254 "hi Menu
255 "hi Scrollbar guibg=grey30 guifg=tan
256 "hi Tooltip
257
258
259 " new Vim 7.0 items
260 hi Pmenu guibg=#3a6595 guifg=#9aadd5
261 hi PmenuSel guibg=#4a85ba guifg=#b0d0f0
262
263
264
265
266
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
295 hi DiffAdd ctermbg=4
296 hi DiffChange ctermbg=5
297 hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
298 hi DiffText cterm=bold ctermbg=1
299
300 hi Comment ctermfg=grey ctermbg=blue
301
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
312
313 " new Vim 7.0 items
314 hi Pmenu ctermbg=darkblue ctermfg=lightgrey
315 hi PmenuSel ctermbg=lightblue ctermfg=white
316
317 "vim: sw=4
318
319 endif