]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .vim/colors/gardener.vim
.screenrc: Enable auto-logging
[dotfiles.git] / .vim / colors / gardener.vim
1 " Vim color file
2 " Original Maintainer: Anders Korte <anderskorte@eml.cc>
3
4 " Modified: by entheon <jazzworksweb@yahoo.com>
5 " Last Change: 13 Sept 2005
6
7 " Gardener v1.1
8 " A modification of the Guardian colorscheme v1.2
9
10 " 'For code surgeons and web gardeners everywhere'
11
12 " A nice earthy color scheme which is easy on the eyes. It
13 " has as it's base a dark background monocrhomatic khaki
14 " scheme with dabs of color thrown in here and there on the
15 " keywords. Plus lots of extra config options so you can
16 " tweak it to your liking and or make it more like the
17 " original Guardian scheme. All the defaults are what I like
18 " but if you want to change stuff just set the right var and
19 " it will change pretty much immediately, you might have to
20 " move out of and back into your buffer for it to refresh.
21
22
23 " Features:
24 " 256 Color XTerm Compatibility
25 " Richer Syntax
26 " Black Background
27 " Functions
28 " No Italics
29 " Purple Booleans
30 " Swapped Status Line Colors
31 " Other minor tweaks
32
33 " Change Log:
34 " changed the ghastly puke salmon red to green like it
35 " should have been in the first place esp considering the
36 " name Gardener, now all vimsters can truly frolic in
37 " their Vim Gardens
38
39 " Options:
40 " g:gardener_light_comments
41 " if this var exists then comments are white on a
42 " gray-blue background if it is not set then the
43 " comments default to medium grey with no background
44 " color, I can't stand bg colors but some people might
45 " like it, so I left it as an option.
46 "
47 " g:gardener_soil
48 " This is a GUI only option because there are no
49 " colors that work even in the 256 color XTerm. This
50 " option gives you a brownish background instead of a
51 " black background. I think the black background gives
52 " better contrast and thus is easier to read from. if
53 " you disagree then you've got this option
54 "
55 " g:gardener_setnum
56 " turns the background of the line numbers black
57
58 " Using The Options:
59 " To enable a feature add the line
60 " let g:gardenter_some_feature=1
61 " to your ~/.vimrc
62 " To disable the feature temporarily run the command
63 " :unlet g:gardener_some_feature
64 " To disable the feature permanently, simply remove
65 " the line from your .vimrc file.
66
67 set background=dark
68 hi clear
69 syntax reset
70
71 if has("gui_running")
72
73 " Colors for the User Interface.
74 if exists("g:gardener_setnum")
75 hi linenr guibg=black guifg=#808080 gui=bold
76 else
77 hi linenr guibg=#262626 guifg=#808080 gui=bold
78 endif
79
80 hi Cursor guibg=#cc4455 guifg=white gui=bold
81 hi link CursorIM Cursor
82 if exists("g:gardener_soil")
83 hi Normal guibg=#332211 guifg=white gui=none
84 else
85 hi Normal guibg=black guifg=white gui=none
86 endif
87 hi NonText guibg=#445566 guifg=#ffeecc gui=bold
88 hi Visual guibg=#557799 guifg=white gui=none
89
90 hi Directory guibg=bg guifg=#337700 gui=none
91
92 hi IncSearch guibg=#0066cc guifg=white gui=none
93 hi link Seach IncSearch
94
95 hi SpecialKey guibg=bg guifg=fg gui=none
96 hi Titled guibg=bg guifg=fg gui=none
97
98 hi ErrorMsg guibg=bg guifg=#ff0000 gui=bold
99 hi ModeMsg guibg=bg guifg=#ffeecc gui=none
100 hi link MoreMsg ModeMsg
101 hi Question guibg=bg guifg=#ccffcc gui=bold
102 hi link WarningMsg ErrorMsg
103
104 hi StatusLineNC guibg=#ffeecc guifg=black gui=none
105 hi StatusLine guibg=#cc4455 guifg=white gui=bold
106 hi VertSplit guibg=#ffeecc guifg=black gui=none
107
108 hi DiffAdd guibg=#446688 guifg=fg gui=none
109 hi DiffChange guibg=#558855 guifg=fg gui=none
110 hi DiffDelete guibg=#884444 guifg=fg gui=none
111 hi DiffText guibg=#884444 guifg=fg gui=bold
112
113 " Colors for Syntax Highlighting.
114 if exists("g:gardener_light_comments")
115 hi Comment guibg=#334455 guifg=#dddddd gui=none
116 else
117 hi Comment guibg=bg guifg=#888888 gui=none
118 endif
119
120
121 hi Define guibg=bg guifg=#66ccdd gui=bold
122 hi Conditional guibg=bg guifg=#aadd55 gui=bold
123
124 hi Constant guibg=bg guifg=white gui=bold
125 hi Identifier guibg=bg guifg=#ffddaa gui=none
126 hi String guibg=bg guifg=#ffffcc gui=none
127 hi Character guibg=bg guifg=#ffffcc gui=bold
128 hi Number guibg=bg guifg=#bbddff gui=bold
129 hi Boolean guibg=bg guifg=#ff55ff gui=bold
130 hi Float guibg=bg guifg=#bbddff gui=bold
131
132 hi Function guibg=bg guifg=#ffffaa gui=bold
133 hi Statement guibg=bg guifg=#ffffcc gui=bold
134
135 hi Repeat guibg=bg guifg=#ff9900 gui=bold
136 hi Label guibg=bg guifg=#ffccff gui=bold
137 hi Operator guibg=bg guifg=#cc9966 gui=bold
138 hi Keyword guibg=bg guifg=#66ffcc gui=bold
139 hi Exception guibg=bg guifg=#66ffcc gui=bold
140
141 hi PreProc guibg=bg guifg=#ffcc99 gui=bold
142 hi Include guibg=bg guifg=#99cc99 gui=bold
143 hi link Macro Include
144 hi link PreCondit Include
145
146 hi Type guibg=bg guifg=#ccffaa gui=bold
147 hi Structure guibg=bg guifg=#99ff99 gui=bold
148 hi Typedef guibg=bg guifg=#99cc99 gui=italic
149
150 hi StorageClass guibg=bg guifg=#99cc99 gui=bold
151 hi Special guibg=bg guifg=#bbddff gui=bold
152 hi SpecialChar guibg=bg guifg=#bbddff gui=bold
153 hi Tag guibg=bg guifg=#bbddff gui=bold
154 hi Delimiter guibg=bg guifg=fg gui=bold
155 hi SpecialComment guibg=#334455 guifg=#dddddd gui=italic
156 hi Debug guibg=bg guifg=#ff9999 gui=none
157
158 hi Underlined guibg=bg guifg=#99ccff gui=underline
159
160 hi Title guibg=#445566 guifg=white gui=bold
161 hi Ignore guibg=bg guifg=#cccccc gui=italic
162 hi Error guibg=#ff0000 guifg=white gui=bold
163 hi Todo guibg=#556677 guifg=#ff0000 gui=bold
164
165 hi htmlH1 guibg=bg guifg=#ffffff gui=bold
166 hi htmlH2 guibg=bg guifg=#dadada gui=bold
167 hi htmlH3 guibg=bg guifg=#c6c6c6 gui=bold
168 hi htmlH4 guibg=bg guifg=#b2b2b2 gui=bold
169 hi htmlH5 guibg=bg guifg=#9e9e9e gui=bold
170 hi htmlH6 guibg=bg guifg=#8a8a8a gui=bold
171
172 else
173 " Colors for the User Interface.
174
175 if exists("g:gardener_setnum")
176 exec "hi linenr cterm=BOLD ctermfg=235 ctermbg=244"
177 else
178 exec "hi linenr cterm=BOLD ctermfg=244 ctermbg=235"
179 endif
180
181
182 exec "hi Cursor cterm=BOLD ctermfg=255 ctermbg=167"
183 exec "hi CursorIM cterm=BOLD ctermfg=255 ctermbg=167"
184
185 exec "hi Normal cterm=NONE ctermfg=255 ctermbg=233"
186 exec "hi NonText cterm=NONE ctermfg=230 ctermbg=60"
187 exec "hi Visual cterm=NONE ctermfg=255 ctermbg=68"
188
189 exec "hi Linear cterm=NONE ctermfg=248 ctermbg=NONE"
190
191 exec "hi Directory cterm=NONE ctermfg=64 ctermbg=NONE"
192
193 exec "hi IncSearch cterm=NONE ctermfg=255 ctermbg=25"
194
195 exec "hi ErrorMsg cterm=BOLD ctermfg=196 ctermbg=NONE"
196 exec "hi WarningMsg cterm=BOLD ctermfg=196 ctermbg=NONE"
197 exec "hi ModeMsg cterm=NONE ctermfg=230 ctermbg=NONE"
198 exec "hi MoreMsg cterm=NONE ctermfg=230 ctermbg=NONE"
199 exec "hi Question cterm=NONE ctermfg=194 ctermbg=NONE"
200
201 exec "hi StatusLineNC cterm=NONE ctermfg=16 ctermbg=229"
202 exec "hi StatusLine cterm=BOLD ctermfg=255 ctermbg=167"
203 exec "hi VertSplit cterm=NONE ctermfg=16 ctermbg=229"
204
205 exec "hi DiffAdd cterm=NONE ctermfg=255 ctermbg=60"
206 exec "hi DiffAdd cterm=NONE ctermfg=255 ctermbg=65"
207 exec "hi DiffAdd cterm=NONE ctermfg=255 ctermbg=95"
208 exec "hi DiffAdd cterm=BOLD ctermfg=255 ctermbg=95"
209
210 " Colors for Syntax Highlighting.
211 if exists("g:gardener_light_comments")
212 exec "hi Comment cterm=NONE ctermfg=253 ctermbg=60"
213 else
214 exec "hi Comment cterm=NONE ctermfg=244 ctermbg=NONE"
215 endif
216
217 exec "hi Constant cterm=BOLD ctermfg=255 ctermbg=NONE"
218 exec "hi String cterm=NONE ctermfg=230 ctermbg=NONE"
219 exec "hi Character cterm=BOLD ctermfg=230 ctermbg=NONE"
220 exec "hi Number cterm=BOLD ctermfg=153 ctermbg=NONE"
221 exec "hi Boolean cterm=NONE ctermfg=207 ctermbg=NONE"
222 exec "hi Float cterm=BOLD ctermfg=153 ctermbg=NONE"
223
224 exec "hi Identifier cterm=NONE ctermfg=223 ctermbg=NONE"
225 exec "hi Function cterm=BOLD ctermfg=229 ctermbg=NONE"
226 exec "hi Statement cterm=BOLD ctermfg=230 ctermbg=NONE"
227
228 exec "hi Define cterm=BOLD ctermfg=68 ctermbg=NONE"
229 exec "hi Conditional cterm=BOLD ctermfg=149 ctermbg=NONE"
230
231 exec "hi Repeat cterm=BOLD ctermfg=208 ctermbg=NONE"
232 exec "hi Label cterm=BOLD ctermfg=225 ctermbg=NONE"
233 exec "hi Operator cterm=BOLD ctermfg=173 ctermbg=NONE"
234 exec "hi Keyword cterm=BOLD ctermfg=86 ctermbg=NONE"
235 exec "hi Exception cterm=BOLD ctermfg=86 ctermbg=NONE"
236
237 exec "hi PreProc cterm=BOLD ctermfg=222 ctermbg=NONE"
238 exec "hi Include cterm=BOLD ctermfg=114 ctermbg=NONE"
239 exec "hi Macro cterm=BOLD ctermfg=114 ctermbg=NONE"
240 exec "hi PreCondit cterm=BOLD ctermfg=114 ctermbg=NONE"
241
242 exec "hi Type cterm=BOLD ctermfg=193 ctermbg=NONE"
243 exec "hi StorageClass cterm=BOLD ctermfg=78 ctermbg=NONE"
244 exec "hi Structure cterm=BOLD ctermfg=114 ctermbg=NONE"
245 exec "hi Typedef cterm=BOLD ctermfg=114 ctermbg=NONE"
246
247 exec "hi Special cterm=BOLD ctermfg=153 ctermbg=NONE"
248 exec "hi SpecialChar cterm=BOLD ctermfg=153 ctermbg=NONE"
249 exec "hi Tag cterm=BOLD ctermfg=153 ctermbg=NONE"
250 exec "hi Delimiter cterm=BOLD ctermfg=255 ctermbg=NONE"
251 exec "hi SpecialComment cterm=BOLD ctermfg=253 ctermbg=24"
252 exec "hi Debug cterm=NONE ctermfg=210 ctermbg=NONE"
253
254 exec "hi Title cterm=BOLD ctermfg=255 ctermbg=60"
255 exec "hi Ignore cterm=NONE ctermfg=251 ctermbg=NONE"
256 exec "hi Error cterm=NONE ctermfg=255 ctermbg=196"
257 exec "hi Ignore cterm=NONE ctermfg=196 ctermbg=60"
258
259 exec "hi htmlH1 cterm=BOLD ctermfg=255 ctermbg=NONE"
260 exec "hi htmlH2 cterm=BOLD ctermfg=253 ctermbg=NONE"
261 exec "hi htmlH3 cterm=BOLD ctermfg=251 ctermbg=NONE"
262 exec "hi htmlH4 cterm=BOLD ctermfg=249 ctermbg=NONE"
263 exec "hi htmlH5 cterm=BOLD ctermfg=247 ctermbg=NONE"
264 exec "hi htmlH6 cterm=BOLD ctermfg=245 ctermbg=NONE"
265
266 endif
267 " And finally.
268
269 let g:colors_name = "gardener"
270 let colors_name = "gardener"
271