Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 236 lines (213 sloc) 11.199 kb
99a2253 @scrooloose added all of ~/.vim
authored
1 " Vim color file {{{1
2 " Maintainer: hira@users.sourceforge.jp
3 " Last Change: 2003/11/08 (Sat) 15:09:19.
4 " Version: 1.3
5 " This color scheme uses a dark background.
6
7 " Options
8 " format:
9 " hhcs_<gui|cterm|both>_<theme|all>_<target>="value"
10 " target:
11 " linenr
12 " "light" : underline, fg=black, bg=light<theme>
13 " "dark" : underline, fg=black, bg=dark<theme>
14 " "normal" : none, fg=light<theme>, bg=black
15 " nontext
16 " "underlined" : underline, fg=dark<theme>, bg=black
17 " "normal" : none, fg=dark<theme>, bg=black
18 "
19 " This is original settings.
20 " :let hhcs_both_all_linenr ="light"
21 " :let hhcs_both_all_nontext ="underlined"
22 "
23 " This is prototype settings.
24 " :let hhcs_both_all_linenr ="dark"
25 " :let hhcs_both_all_nontext ="underlined"
26 "
27 " If you don't want to eccentric feature, try this.
28 " :let hhcs_both_all_linenr ="normal"
29 " :let hhcs_both_all_nontext ="normal"
30 "
31 " Normal, except hhdgray(gui), hhdgreen(cterm).
32 " :let hhcs_both_all_linenr ="normal"
33 " :let hhcs_both_all_nontext ="normal"
34 " :let hhcs_gui_hhdgray_linenr ="light"
35 " :let hhcs_gui_hhdgray_nontext ="underlined"
36 " :let hhcs_cterm_hhdgreen_linenr ="dark"
37 " :let hhcs_cterm_hhdgreen_nontext ="underlined"
38 "
39 " For poor cterm
40 " :let hhcs_cterm_all_linenr ="normal"
41
42 " Happy Hacking color scheme ((DARK)) {{{1
43 set background=dark
44 hi clear
45 if exists("syntax_on")
46 syntax reset
47 endif
48 let colors_name = expand("<sfile>:t:r")
49 let html_my_rendering = 1
50
51
52 " frame & title & message (theme) {{{1
53 hi NonText gui=UNDERLINE guifg=darkyellow guibg=black
54 hi NonText cterm=UNDERLINE ctermfg=darkyellow ctermbg=black
55 hi Folded gui=NONE guifg=darkyellow guibg=black
56 hi Folded cterm=NONE ctermfg=darkyellow ctermbg=black
57 hi FoldColumn gui=NONE guifg=darkyellow guibg=black
58 hi FoldColumn cterm=NONE ctermfg=darkyellow ctermbg=black
59 hi StatusLineNC gui=UNDERLINE guifg=black guibg=darkyellow
60 hi StatusLineNC gui=UNDERLINE ctermfg=black ctermbg=darkyellow
61 hi LineNr gui=NONE guifg=lightyellow guibg=black
62 hi LineNr cterm=NONE ctermfg=lightyellow ctermbg=black
63 hi LineNr gui=UNDERLINE guifg=black guibg=lightyellow
64 hi LineNr cterm=UNDERLINE ctermfg=black ctermbg=lightyellow
65 hi VertSplit gui=NONE guifg=darkyellow guibg=darkyellow
66 hi VertSplit cterm=NONE ctermfg=darkyellow ctermbg=darkyellow
67 " title
68 hi Title gui=UNDERLINE guifg=lightgray guibg=darkyellow
69 hi Title cterm=UNDERLINE ctermfg=lightgray ctermbg=darkyellow
70 " message
71 hi MoreMsg gui=UNDERLINE guifg=black guibg=darkyellow
72 hi MoreMsg cterm=UNDERLINE ctermfg=black ctermbg=darkyellow
73 hi Question gui=UNDERLINE guifg=black guibg=darkyellow
74 hi Question cterm=UNDERLINE ctermfg=black ctermbg=darkyellow
75
76
77 " cursor {{{1
78 hi StatusLine gui=UNDERLINE guifg=black guibg=gray
79 hi StatusLine cterm=UNDERLINE ctermfg=black ctermbg=gray
80 hi WildMenu gui=UNDERLINE guifg=black guibg=green
81 hi WildMenu cterm=UNDERLINE ctermfg=black ctermbg=green
82 hi Cursor gui=UNDERLINE guifg=black guibg=green
83 hi Cursor cterm=UNDERLINE ctermfg=black ctermbg=green
84 hi IncSearch gui=UNDERLINE guifg=black guibg=green
85 hi IncSearch cterm=UNDERLINE ctermfg=black ctermbg=green
86 hi CursorIM gui=UNDERLINE guifg=black guibg=green
87 hi CursorIM cterm=UNDERLINE ctermfg=black ctermbg=green
88 hi Search gui=UNDERLINE guifg=black guibg=yellow
89 hi Search cterm=UNDERLINE ctermfg=black ctermbg=yellow
90 hi Visual gui=UNDERLINE guifg=black guibg=gray
91 hi Visual cterm=UNDERLINE ctermfg=black ctermbg=gray
92
93
94 " message {{{1
95 hi ErrorMsg gui=UNDERLINE guifg=black guibg=red
96 hi ErrorMsg cterm=UNDERLINE ctermfg=black ctermbg=red
97 hi WarningMsg gui=UNDERLINE guifg=black guibg=yellow
98 hi WarningMsg cterm=UNDERLINE ctermfg=black ctermbg=yellow
99 hi ModeMsg gui=UNDERLINE guifg=black guibg=green
100 hi ModeMsg cterm=UNDERLINE ctermfg=black ctermbg=green
101
102
103 " inner {{{1
104 hi Normal gui=NONE guifg=lightgray guibg=black
105 hi Normal cterm=NONE ctermfg=lightgray ctermbg=black
106 hi Ignore gui=NONE guifg=black guibg=black
107 hi Ignore cterm=NONE ctermfg=black ctermbg=black
108 hi Todo gui=UNDERLINE guifg=black guibg=red
109 hi Todo cterm=UNDERLINE ctermfg=black ctermbg=red
110 hi Error gui=UNDERLINE guifg=lightgray guibg=red
111 hi Error cterm=UNDERLINE ctermfg=lightgray ctermbg=red
112 hi Special gui=NONE guifg=lightcyan guibg=black
113 hi Special cterm=NONE ctermfg=lightcyan ctermbg=black
114 hi SpecialKey gui=NONE guifg=cyan guibg=black
115 hi SpecialKey cterm=NONE ctermfg=cyan ctermbg=black
116 hi Identifier gui=NONE guifg=cyan guibg=black
117 hi Identifier cterm=NONE ctermfg=cyan ctermbg=black
118 hi Constant gui=NONE guifg=lightred guibg=black
119 hi Constant cterm=NONE ctermfg=lightred ctermbg=black
120 hi Statement gui=NONE guifg=lightyellow guibg=black
121 hi Statement cterm=NONE ctermfg=lightyellow ctermbg=black
122 hi Comment gui=NONE guifg=lightblue guibg=black
123 hi Comment cterm=NONE ctermfg=lightblue ctermbg=black
124 hi Underlined gui=UNDERLINE guifg=lightblue guibg=black
125 hi Underlined cterm=UNDERLINE ctermfg=lightblue ctermbg=black
126 hi Directory gui=NONE guifg=lightgreen guibg=black
127 hi Directory cterm=NONE ctermfg=lightgreen ctermbg=black
128 hi PreProc gui=NONE guifg=lightmagenta guibg=black
129 hi PreProc cterm=NONE ctermfg=lightmagenta ctermbg=black
130 hi Type gui=NONE guifg=lightgreen guibg=black
131 hi Type cterm=NONE ctermfg=lightgreen ctermbg=black
132
133
134 " option {{{1
135 function! s:SetOpt(term, theme, target, default)
136 let s:opt_{a:term}_{a:target}
137 \ = exists("g:hhcs_".a:term."_".a:theme."_".a:target)
138 \ ? g:hhcs_{a:term}_{a:theme}_{a:target}
139 \ : exists("g:hhcs_".a:term."_all_".a:target)
140 \ ? g:hhcs_{a:term}_all_{a:target}
141 \ : exists("g:hhcs_both_all_".a:target)
142 \ ? g:hhcs_both_all_{a:target}
143 \ : a:default
144 endfunction
145
146
147 " LineNr {{{2
148 " light, dark, normal
149 call s:SetOpt( "gui", "hhdyellow", "linenr", "light")
150 call s:SetOpt("cterm", "hhdyellow", "linenr", "light")
151 "echo "s:opt_gui_linenr=".s:opt_gui_linenr
152 if s:opt_gui_linenr == "light"
153 hi LineNr gui=UNDERLINE guifg=black guibg=lightyellow
154 elseif s:opt_gui_linenr == "dark"
155 hi LineNr gui=UNDERLINE guifg=black guibg=darkyellow
156 else
157 hi LineNr gui=NONE guifg=lightyellow guibg=black
158 endif
159 "echo "s:opt_cterm_linenr=".s:opt_cterm_linenr
160 if s:opt_cterm_linenr == "light"
161 hi LineNr cterm=UNDERLINE ctermfg=black ctermbg=lightyellow
162 elseif s:opt_gui_linenr == "dark"
163 hi LineNr cterm=UNDERLINE ctermfg=black ctermbg=darkyellow
164 else
165 hi LineNr cterm=NONE ctermfg=lightyellow ctermbg=black
166 endif
167
168
169 " NonText {{{2
170 " underlined, normal
171 call s:SetOpt( "gui", "hhdyellow", "nontext", "underlined")
172 call s:SetOpt("cterm", "hhdyellow", "nontext", "underlined")
173 "echo "s:opt_gui_nontext=".s:opt_gui_nontext
174 if s:opt_gui_nontext == "underlined"
175 hi NonText gui=UNDERLINE guifg=darkyellow guibg=black
176 else
177 hi NonText gui=NONE guifg=darkyellow guibg=black
178 endif
179 "echo "s:opt_cterm_nontext=".s:opt_cterm_nontext
180 if s:opt_cterm_nontext == "underlined"
181 hi NonText cterm=UNDERLINE ctermfg=darkyellow ctermbg=black
182 else
183 hi NonText cterm=NONE ctermfg=darkyellow ctermbg=black
184 endif
185
186
187 " 2}}}
188 " diff {{{1
189 hi DiffText gui=UNDERLINE guifg=black guibg=red
190 hi DiffText cterm=UNDERLINE ctermfg=black ctermbg=red
191 hi DiffChange gui=UNDERLINE guifg=black guibg=lightgray
192 hi DiffChange cterm=UNDERLINE ctermfg=black ctermbg=lightgray
193 hi DiffDelete gui=NONE guifg=black guibg=blue
194 hi DiffDelete cterm=NONE ctermfg=black ctermbg=blue
195 hi DiffAdd gui=UNDERLINE guifg=black guibg=cyan
196 hi DiffAdd cterm=UNDERLINE ctermfg=black ctermbg=cyan
197
198
199 " html {{{1
200 hi htmlLink gui=UNDERLINE guifg=lightblue guibg=black
201 hi htmlLink cterm=UNDERLINE ctermfg=lightblue ctermbg=black
202 hi htmlBold gui=UNDERLINE guifg=black guibg=lightred
203 hi htmlBold cterm=UNDERLINE ctermfg=black ctermbg=lightred
204 hi htmlItalic gui=UNDERLINE guifg=black guibg=lightgreen
205 hi htmlItalic cterm=UNDERLINE ctermfg=black ctermbg=lightgreen
206 hi htmlBoldItalic gui=UNDERLINE guifg=black guibg=lightblue
207 hi htmlBoldItalic cterm=UNDERLINE ctermfg=black ctermbg=lightblue
208 hi htmlUnderline gui=UNDERLINE guifg=lightgray guibg=black
209 hi htmlUnderline cterm=UNDERLINE ctermfg=lightgray ctermbg=black
210 hi htmlBoldUnderline gui=UNDERLINE guifg=lightred guibg=black
211 hi htmlBoldUnderline cterm=UNDERLINE ctermfg=lightred ctermbg=black
212 hi htmlUnderlineItalic gui=UNDERLINE guifg=lightgreen guibg=black
213 hi htmlUnderlineItalic cterm=UNDERLINE ctermfg=lightgreen ctermbg=black
214 hi htmlBoldUnderlineItalic gui=UNDERLINE guifg=lightblue guibg=black
215 hi htmlBoldUnderlineItalic cterm=UNDERLINE ctermfg=lightblue ctermbg=black
216
217
218 " colors{{{1
219 " 1 black
220 " 2 blue
221 " 3 cyan
222 " 4 darkyellow
223 " 5 gray
224 " 6 green
225 " 7 lightblue
226 " 8 lightcyan
227 " 9 lightgray
228 " 10 lightgreen
229 " 11 lightmagenta
230 " 12 lightred
231 " 13 lightyellow
232 " 14 red
233 " 15 yellow
234 "}}}1
235 " vim:set nowrap foldmethod=marker expandtab:
Something went wrong with that request. Please try again.