]> git.r.bdr.sh - rbdr/dotfiles/blob - vim/colors/kellys.vim
Adapt paths for new homebrew prefix
[rbdr/dotfiles] / vim / colors / kellys.vim
1 " Description: a colour scheme inspired by kellys bicycles
2 " Maintainer: kamil.stachowski@gmail.com
3 " License: gpl 3+
4 " Version: 0.3 (2008.12.07)
5
6 " changelog:
7 " 0.3: 2008.12.07
8 " finished ada, haskell, html, lisp, pascal, php, python, ruby, scheme, sh, xml and vim
9 " changed preproc to slightly darker
10 " changed statement to bold
11 " 0.2: 2008.12.02
12 " added support for 256-colour terminal
13 " added diff*, pmenu* and wildmenu
14 " added some cpp, java*, python*, some sh and ruby*
15 " removed italic from comments and made them slightly lighter
16 " 0.1: 2008.11.28
17 " initial version
18
19
20 set background=dark
21
22 if version > 580
23 hi clear
24 if exists("syntax_on")
25 syntax reset
26 endif
27 endif
28
29 let colors_name = "kellys"
30
31 " black 2a2b2f 235
32 " blue 62acce 81
33 " blue slight 9ab2c8 74
34 " brown slight d1c79e 144
35 " green yellowy d1d435 184
36 " grey dark 67686b 240
37 " grey light e1e0e5 254
38 " orange e6ac32 178
39 " red 9d0e15 124
40
41 " tabline
42
43 if has("gui_running")
44 hi Comment guifg=#67686b guibg=#2a2b2f gui=none
45 hi Cursor guifg=#2a2b2f guibg=#e1e0e5 gui=none
46 hi Constant guifg=#d1c79e guibg=#2a2b2f gui=none
47 hi CursorLine guibg=#303132 gui=none
48 hi DiffAdd guifg=#2a2b2f guibg=#9ab2c8 gui=none
49 hi DiffChange guifg=#2a2b2f guibg=#d1c79e gui=none
50 hi DiffDelete guifg=#67686b guibg=#2a2b2f gui=none
51 hi DiffText guifg=#9d0e15 guibg=#d1c79e gui=none
52 hi Folded guifg=#2a2b2f guibg=#67686b gui=none
53 hi MatchParen guifg=#d1d435 guibg=#2a2b2f gui=bold,underline
54 hi ModeMsg guifg=#e1e0e5 guibg=#2a2b2f gui=bold
55 hi Normal guifg=#e1e0e5 guibg=#2a2b2f gui=none
56 hi Pmenu guifg=#2a2b2f guibg=#9ab2c8 gui=none
57 hi PmenuSel guifg=#2a2b2f guibg=#62acce gui=bold
58 hi PmenuSbar guifg=#2a2b2f guibg=#2a2b2f gui=none
59 hi PmenuThumb guifg=#2a2b2f guibg=#62acce gui=none
60 hi PreProc guifg=#d1d435 guibg=#2a2b2f gui=none
61 hi Search guifg=#2a2b2f guibg=#e1e0e5 gui=none
62 hi Special guifg=#9ab2c8 guibg=#2a2b2f gui=none
63 hi Statement guifg=#62acce guibg=#2a2b2f gui=bold
64 hi StatusLine guifg=#2a2b2f guibg=#62acce gui=bold
65 hi StatusLineNC guifg=#2a2b2f guibg=#e1e0e5 gui=none
66 hi Todo guifg=#e1e0e5 guibg=#9d0e15 gui=bold
67 hi Type guifg=#e6ac32 guibg=#2a2b2f gui=none
68 hi Underlined guifg=#e1e0e5 guibg=#2a2b2f gui=underline
69 hi Visual guifg=#2a2b2f guibg=#e1e0e5 gui=none
70 hi Wildmenu guifg=#62acce guibg=#2a2b2f gui=bold
71 else
72 if &t_Co == 256
73 hi Comment ctermfg=239 ctermbg=235 cterm=none
74 hi Cursor ctermfg=235 ctermbg=254 cterm=none
75 hi Constant ctermfg=144 ctermbg=235 cterm=none
76 hi CursorLine ctermbg=236 cterm=none
77 hi DiffAdd ctermfg=235 ctermbg=74 cterm=none
78 hi DiffChange ctermfg=235 ctermbg=144 cterm=none
79 hi DiffDelete ctermfg=239 ctermbg=235 cterm=none
80 hi DiffText ctermfg=124 ctermbg=144 cterm=none
81 hi Folded ctermfg=239 ctermbg=235 cterm=none
82 hi MatchParen ctermfg=184 ctermbg=235 cterm=bold,underline
83 hi ModeMsg ctermfg=254 ctermbg=235 cterm=bold
84 hi Normal ctermfg=254 ctermbg=235 cterm=none
85 hi Pmenu ctermfg=235 ctermbg=74 cterm=none
86 hi PmenuSel ctermfg=235 ctermbg=81 cterm=bold
87 hi PmenuSbar ctermfg=235 ctermbg=235 cterm=none
88 hi PmenuThumb ctermfg=235 ctermbg=81 cterm=none
89 hi PreProc ctermfg=184 ctermbg=235 cterm=none
90 hi Search ctermfg=235 ctermbg=254 cterm=none
91 hi Special ctermfg=74 ctermbg=235 cterm=none
92 hi Statement ctermfg=81 ctermbg=235 cterm=none
93 hi StatusLine ctermfg=235 ctermbg=81 cterm=bold
94 hi StatusLineNC ctermfg=235 ctermbg=254 cterm=none
95 hi Todo ctermfg=254 ctermbg=124 cterm=bold
96 hi Type ctermfg=178 ctermbg=234 cterm=none
97 hi Underlined ctermfg=254 ctermbg=234 cterm=underline
98 hi Visual ctermfg=235 ctermbg=254 cterm=none
99 hi Wildmenu ctermfg=81 ctermbg=234 cterm=bold
100 endif
101 endif
102
103 hi! link Boolean Constant
104 hi! link Character Constant
105 hi! link Conditional Statement
106 hi! link CursorColumn CursorLine
107 hi! link Debug Special
108 hi! link Define PreProc
109 hi! link Delimiter Special
110 hi! link Directory Type
111 hi! link Error Todo
112 hi! link ErrorMsg Error
113 hi! link Exception Statement
114 hi! link Float Constant
115 hi! link FoldColumn Folded
116 hi! link Function Normal
117 hi! link Identifier Special
118 hi! link Ignore Comment
119 hi! link IncSearch Search
120 hi! link Include PreProc
121 hi! link Keyword Statement
122 hi! link Label Statement
123 hi! link LineNr Comment
124 hi! link Macro PreProc
125 hi! link MoreMsg ModeMsg
126 hi! link NonText Comment
127 hi! link Number Constant
128 hi! link Operator Special
129 hi! link PreCondit PreProc
130 hi! link Question MoreMsg
131 hi! link Repeat Statement
132 hi! link SignColumn FoldColumn
133 hi! link SpecialChar Special
134 hi! link SpecialComment Special
135 hi! link SpecialKey Special
136 hi! link SpellBad Error
137 hi! link SpellCap Error
138 hi! link SpellLocal Error
139 hi! link SpellRare Error
140 hi! link StorageClass Type
141 hi! link String Constant
142 hi! link Structure Type
143 hi! link Tag Special
144 hi! link Title ModeMsg
145 hi! link Typedef Type
146 hi! link VertSplit StatusLineNC
147 hi! link WarningMsg Error
148
149 " ada
150 hi! link adaBegin Type
151 hi! link adaEnd Type
152 hi! link adaKeyword Special
153 " c++
154 hi! link cppAccess Type
155 hi! link cppStatement Special
156 " hs
157 hi! link ConId Type
158 hi! link hsPragma PreProc
159 hi! link hsConSym Operator
160 " html
161 hi! link htmlArg Statement
162 hi! link htmlEndTag Special
163 hi! link htmlLink Underlined
164 hi! link htmlSpecialTagName PreProc
165 hi! link htmlTag Special
166 hi! link htmlTagName Type
167 " java
168 hi! link javaTypeDef Special
169 " lisp
170 hi! link lispAtom Constant
171 hi! link lispAtomMark Constant
172 hi! link lispConcat Special
173 hi! link lispDecl Type
174 hi! link lispFunc Special
175 hi! link lispKey PreProc
176 " pas
177 hi! link pascalAsmKey Statement
178 hi! link pascalDirective PreProc
179 hi! link pascalModifier PreProc
180 hi! link pascalPredefined Special
181 hi! link pascalStatement Type
182 hi! link pascalStruct Type
183 " php
184 hi! link phpComparison Special
185 hi! link phpDefine Normal
186 hi! link phpIdentifier Normal
187 hi! link phpMemberSelector Special
188 hi! link phpRegion Special
189 hi! link phpVarSelector Special
190 " py
191 hi! link pythonStatement Type
192 " rb
193 hi! link rubyConstant Special
194 hi! link rubyDefine Type
195 hi! link rubyRegexp Special
196 " scm
197 hi! link schemeSyntax Special
198 " sh
199 hi! link shArithRegion Normal
200 hi! link shDerefSimple Normal
201 hi! link shDerefVar Normal
202 hi! link shFunction Type
203 hi! link shLoop Statement
204 hi! link shStatement Special
205 hi! link shVariable Normal
206 " sql
207 hi! link sqlKeyword Statement
208 " vim
209 hi! link vimCommand Statement
210 hi! link vimCommentTitle Normal
211 hi! link vimEnvVar Special
212 hi! link vimFuncKey Type
213 hi! link vimGroup Special
214 hi! link vimHiAttrib Constant
215 hi! link vimHiCTerm Special
216 hi! link vimHiCtermFgBg Special
217 hi! link vimHighlight Special
218 hi! link vimHiGui Special
219 hi! link vimHiGuiFgBg Special
220 hi! link vimOption Special
221 hi! link vimSyntax Special
222 hi! link vimSynType Special
223 hi! link vimUserAttrb Special
224 " xml
225 hi! link xmlAttrib Special
226 hi! link xmlCdata Normal
227 hi! link xmlCdataCdata Statement
228 hi! link xmlCdataEnd PreProc
229 hi! link xmlCdataStart PreProc
230 hi! link xmlDocType PreProc
231 hi! link xmlDocTypeDecl PreProc
232 hi! link xmlDocTypeKeyword PreProc
233 hi! link xmlEndTag Statement
234 hi! link xmlProcessingDelim PreProc
235 hi! link xmlNamespace PreProc
236 hi! link xmlTagName Statement