]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - vim/colors/baycomb.vim
Add linux compatibility fixes
[rbdr/dotfiles] / vim / colors / baycomb.vim
... / ...
CommitLineData
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
15if 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
22endif
23
24let g:colors_name="baycomb"
25
26if &background == "dark"
27hi Normal guifg=#a0b4e0 guibg=#11121a "1a1823
28hi NonText guifg=#382920 guibg=bg
29
30hi Folded guibg=#232235 guifg=grey
31hi FoldColumn guibg=#0a0a18 guifg=#dbcaa5
32hi LineNr guibg=#101124 guifg=#206aa9
33hi StatusLine guibg=#354070 guifg=#6880ea gui=none
34hi StatusLineNC guibg=#2c3054 guifg=#5c6dbe gui=none
35hi VertSplit guibg=#22253c guifg=#223355 gui=none
36
37hi tablinesel guibg=#515a71 guifg=#50aae5 gui=none
38hi tabline guibg=#4d4d5f guifg=#5b7098 gui=none
39hi tablinefill guibg=#2d2d3f guifg=#aaaaaa gui=none
40
41"hi SpellBad
42"hi SpellCap
43"hi SpellLocal
44"hi SpellRare
45
46hi MatchParen guibg=#7b5a55 guifg=#001122
47
48" syntax highlighting """"""""""""""""""""""""""""""""""""""""
49
50
51hi Comment guifg=#349d58 guibg=bg
52hi Title guifg=#e5e5ca gui=none
53hi Underlined guifg=#bac5ba gui=none
54
55hi Statement guifg=#fca8ad gui=none "a080aa
56hi Type guifg=#0490e8 gui=bold
57hi Constant guifg=#5c78f0 "guibg=#111a2a
58hi Number guifg=#4580b4 "guibg=#111a2a
59hi PreProc guifg=#ba75cf
60hi Special guifg=#aaaaca
61hi Ignore guifg=grey40
62hi Todo guifg=orangered guibg=yellow2
63hi Error guibg=#b03452
64hi Function guifg=#bab588 guibg=bg gui=bold
65hi Identifier guifg=#5094c4
66"""""this section borrowed from OceanDeep/Midnight"""""
67highlight Conditional gui=None guifg=#d0688d guibg=bg
68highlight Repeat gui=None guifg=#e06070 guibg=bg
69"hi Label gui=None guifg=LightGreen guibg=bg
70highlight Operator gui=None guifg=#e8cdc0 guibg=bg
71highlight Keyword gui=bold guifg=grey guibg=bg
72highlight Exception gui=bold guifg=#d0a8ad guibg=bg
73"""""""""""""""""""""""""""""""""""""""""""""""""""""""
74"end syntax highlighting """""""""""""""""""""""""""""""""""""
75
76" highlight groups
77"hi CursorIM
78hi Directory guifg=#bbd0df
79hi DiffText guibg=#004335
80hi DiffChange guibg=#685b5c
81hi DiffAdd guibg=#0a4b8c
82hi DiffDelete guifg=#300845 guibg=#200845
83hi ErrorMsg guibg=#ff4545
84
85hi Cursor guibg=#cad5c0 guifg=#0000aa
86
87
88hi Search guibg=darkyellow guifg=black
89hi IncSearch guifg=#babeaa guibg=#3a4520
90
91hi ModeMsg guifg=#00AACC
92hi MoreMsg guifg=SeaGreen
93hi Question guifg=#AABBCC
94hi SpecialKey guifg=#90dcb0
95hi Visual guifg=#102030 guibg=#80a0f0
96hi VisualNOS guifg=#201a30 guibg=#a3a5FF
97hi 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
105hi Pmenu guibg=#3a6595 guifg=#9aadd5
106hi PmenuSel guibg=#4a85ba guifg=#b0d0f0
107
108
109
110
111
112" color terminal definitions
113hi Cursor ctermfg=black ctermbg=white
114hi Normal ctermfg=grey ctermbg=black
115hi Number ctermfg=darkgreen
116highlight Operator ctermfg=yellow
117highlight Conditional ctermfg=darkred
118highlight Repeat ctermfg=darkred
119hi Exception ctermfg=darkred
120hi SpecialKey ctermfg=darkgreen
121hi NonText cterm=bold ctermfg=darkgrey
122hi Directory ctermfg=darkcyan
123hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
124hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
125hi Search ctermfg=black ctermbg=darkyellow cterm=NONE
126hi MoreMsg ctermfg=darkgreen
127hi ModeMsg cterm=NONE ctermfg=brown
128hi LineNr ctermfg=darkcyan ctermbg=black
129hi Question ctermfg=green
130hi StatusLine ctermfg=yellow ctermbg=darkblue cterm=NONE
131hi StatusLineNC ctermfg=grey ctermbg=darkblue cterm=NONE
132hi VertSplit ctermfg=black ctermbg=darkgrey cterm=NONE
133hi Title ctermfg=yellow cterm=NONE
134hi Visual ctermbg=grey ctermfg=blue cterm=NONE
135hi VisualNOS ctermbg=grey ctermfg=blue cterm=NONE
136hi WarningMsg ctermfg=1
137hi WildMenu ctermfg=0 ctermbg=3
138hi Folded ctermfg=darkgreen ctermbg=darkblue cterm=NONE
139hi FoldColumn ctermfg=yellow ctermbg=black
140hi DiffAdd ctermbg=4
141hi DiffChange ctermbg=5
142hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
143hi DiffText cterm=bold ctermbg=1
144hi Comment ctermfg=darkgreen ctermbg=black
145hi Identifier ctermfg=cyan
146
147"set comments to grey on non-Windows OS's to make sure
148"it is readable
149if &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
154else
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
159endif
160""""""""""""""""""""""""""""""""""""""""""""""""""""""
161
162hi Constant ctermfg=darkcyan
163hi Special ctermfg=white
164hi Statement ctermfg=yellow
165hi PreProc ctermfg=darkred
166hi Underlined ctermfg=cyan cterm=NONE
167hi Ignore cterm=bold ctermfg=7
168hi Ignore ctermfg=darkgrey
169hi Error cterm=bold ctermfg=7 ctermbg=1
170
171" new Vim 7.0 items
172hi Pmenu ctermbg=darkblue ctermfg=lightgrey
173hi PmenuSel ctermbg=lightblue ctermfg=white
174
175hi tablinesel ctermfg=cyan ctermbg=blue
176hi tabline ctermfg=black ctermbg=blue
177hi tablinefill ctermfg=green ctermbg=darkblue
178"vim: sw=4
179"
180hi MatchParen ctermfg=black ctermbg=green
181
182
183elseif &background == "light"
184
185hi Normal guifg=#003255 guibg=#e8ebf0 "greyish blue2
186hi 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
192if &term == "builtin_gui" || &term == "win32"
193 hi Comment guifg=#daddb8 guibg=#308ae5
194else
195 hi Comment guifg=darkyellow guibg=#207ada
196endif
197""""""""""""""""""""""""""""""""""""""""""""""""""""""
198
199hi Title guifg=#857540 gui=none
200hi Underlined guifg=#8a758a
201
202hi Statement guifg=#da302a gui=none
203hi Type guifg=#307aca gui=none
204hi Constant guifg=#3a40aa gui=none
205hi PreProc guifg=#9570b5
206hi Identifier guifg=#856075 "gui=bold
207hi Special guifg=#652a7a
208hi Ignore guifg=grey40
209hi Todo guifg=orangered guibg=yellow2
210hi Error guibg=#b03452
211"""""this section borrowed from OceanDeep/Midnight"""""
212hi Number guifg=#006bcd
213hi Function gui=None guifg=#d06d50 "or green 50b3b0
214highlight Conditional gui=None guifg=#a50a4a
215highlight Repeat gui=None guifg=#700d8a
216"hi Label gui=None guifg=LightGreen guibg=bg
217highlight Operator gui=None guifg=#e0b045
218highlight Keyword gui=bold guifg=grey guibg=bg
219highlight Exception gui=none guifg=#ea5460
220"""""""""""""""""""""""""""""""""""""""""""""""""""""""
221"end syntax highlighting """""""""""""""""""""""""""""""""""""
222
223" highlight groups
224"hi CursorIM
225hi Directory guifg=#bbd0df
226"hi DiffAdd
227"hi DiffChange
228"hi DiffDelete
229"hi DiffText
230hi ErrorMsg guibg=#ff4545
231
232hi Cursor guibg=#cadaca guifg=#05293d
233
234hi FoldColumn guibg=#409ae0 guifg=darkgrey
235"hi FoldColumn guibg=#83a5cd guifg=#70459F
236hi LineNr guibg=#409ae0 guifg=darkblue gui=bold
237"hi LineNr guibg=#081c30 guifg=#80a0dA
238hi StatusLine guibg=#20b5fd guifg=#0a150d gui=none
239hi StatusLineNC guibg=#0580da guifg=#302d34 gui=none
240
241hi Search guibg=#babdad guifg=#3a4520
242hi IncSearch guifg=#dadeca guibg=#3a4520
243
244hi VertSplit guibg=#525f95 guifg=grey50 gui=none
245hi Folded guibg=#252f5d guifg=#BBDDCC
246hi ModeMsg guifg=#00AACC
247hi MoreMsg guifg=SeaGreen
248hi Question guifg=#AABBCC
249hi SpecialKey guifg=#308c70
250hi Visual guifg=#008FBF guibg=#33DFEF
251"hi VisualNOS
252hi 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
260hi Pmenu guibg=#3a6595 guifg=#9aadd5
261hi PmenuSel guibg=#4a85ba guifg=#b0d0f0
262
263
264
265
266
267" color terminal definitions
268hi Normal ctermfg=black ctermbg=white
269hi Number ctermfg=blue
270highlight Operator ctermfg=yellow
271highlight Conditional ctermfg=magenta
272highlight Repeat ctermfg=magenta
273hi Exception ctermfg=red
274hi function ctermfg=darkyellow
275hi SpecialKey ctermfg=darkgreen
276hi NonText cterm=bold ctermfg=darkgrey ctermbg=grey
277hi Directory ctermfg=darkcyan
278hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
279hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
280hi Search ctermfg=white ctermbg=darkyellow cterm=NONE
281hi MoreMsg ctermfg=darkgreen
282hi ModeMsg cterm=NONE ctermfg=brown
283hi LineNr ctermfg=black ctermbg=blue
284hi Question ctermfg=green
285hi StatusLine ctermfg=cyan ctermbg=blue cterm=NONE
286hi StatusLineNC ctermfg=grey ctermbg=darkblue cterm=NONE
287hi VertSplit ctermfg=black ctermbg=black cterm=NONE
288hi Title ctermfg=darkyellow ctermbg=white
289hi Visual ctermbg=darkcyan ctermfg=cyan cterm=NONE
290hi VisualNOS ctermbg=darkcyan ctermfg=white cterm=NONE
291hi WarningMsg ctermfg=1
292hi WildMenu ctermfg=0 ctermbg=3
293hi Folded ctermfg=black ctermbg=white cterm=NONE
294hi FoldColumn ctermfg=green ctermbg=blue
295hi DiffAdd ctermbg=4
296hi DiffChange ctermbg=5
297hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
298hi DiffText cterm=bold ctermbg=1
299
300hi Comment ctermfg=grey ctermbg=blue
301
302hi Constant ctermfg=darkblue
303hi Special ctermfg=darkmagenta
304hi Identifier ctermfg=darkyellow cterm=NONE
305hi Statement ctermfg=red
306hi PreProc ctermfg=magenta
307hi Type ctermfg=darkcyan "or darkcyan
308hi Underlined ctermfg=black ctermbg=white
309hi Ignore cterm=bold ctermfg=7
310hi Ignore ctermfg=darkgrey
311hi Error cterm=bold ctermfg=7 ctermbg=1
312
313" new Vim 7.0 items
314hi Pmenu ctermbg=darkblue ctermfg=lightgrey
315hi PmenuSel ctermbg=lightblue ctermfg=white
316
317"vim: sw=4
318
319endif