]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - vim/colors/molokai.vim
Update the stuff
[rbdr/dotfiles] / vim / colors / molokai.vim
... / ...
CommitLineData
1" Vim color file
2"
3" Author: Tomas Restrepo <tomas@winterdom.com>
4"
5" Note: Based on the monokai theme for textmate
6" by Wimer Hazenberg and its darker variant
7" by Hamish Stuart Macpherson
8"
9
10hi clear
11
12set background=dark
13if version > 580
14 " no guarantees for version 5.8 and below, but this makes it stop
15 " complaining
16 hi clear
17 if exists("syntax_on")
18 syntax reset
19 endif
20endif
21let g:colors_name="molokai"
22
23if exists("g:molokai_original")
24 let s:molokai_original = g:molokai_original
25else
26 let s:molokai_original = 0
27endif
28
29
30hi Boolean guifg=#AE81FF
31hi Character guifg=#E6DB74
32hi Number guifg=#AE81FF
33hi String guifg=#E6DB74
34hi Conditional guifg=#F92672 gui=bold
35hi Constant guifg=#AE81FF gui=bold
36hi Cursor guifg=#000000 guibg=#F8F8F0
37hi Debug guifg=#BCA3A3 gui=bold
38hi Define guifg=#66D9EF
39hi Delimiter guifg=#8F8F8F
40hi DiffAdd guibg=#13354A
41hi DiffChange guifg=#89807D guibg=#4C4745
42hi DiffDelete guifg=#960050 guibg=#1E0010
43hi DiffText guibg=#4C4745 gui=italic,bold
44
45hi Directory guifg=#A6E22E gui=bold
46hi Error guifg=#960050 guibg=#1E0010
47hi ErrorMsg guifg=#F92672 guibg=#232526 gui=bold
48hi Exception guifg=#A6E22E gui=bold
49hi Float guifg=#AE81FF
50hi FoldColumn guifg=#465457 guibg=#000000
51hi Folded guifg=#465457 guibg=#000000
52hi Function guifg=#A6E22E
53hi Identifier guifg=#FD971F
54hi Ignore guifg=#808080 guibg=bg
55hi IncSearch guifg=#C4BE89 guibg=#000000
56
57hi Keyword guifg=#F92672 gui=bold
58hi Label guifg=#E6DB74 gui=none
59hi Macro guifg=#C4BE89 gui=italic
60hi SpecialKey guifg=#66D9EF gui=italic
61
62hi MatchParen guifg=#000000 guibg=#FD971F gui=bold
63hi ModeMsg guifg=#E6DB74
64hi MoreMsg guifg=#E6DB74
65hi Operator guifg=#F92672
66
67" complete menu
68hi Pmenu guifg=#66D9EF guibg=#000000
69hi PmenuSel guibg=#808080
70hi PmenuSbar guibg=#080808
71hi PmenuThumb guifg=#66D9EF
72
73hi PreCondit guifg=#A6E22E gui=bold
74hi PreProc guifg=#A6E22E
75hi Question guifg=#66D9EF
76hi Repeat guifg=#F92672 gui=bold
77hi Search guifg=#FFFFFF guibg=#455354
78" marks column
79hi SignColumn guifg=#A6E22E guibg=#232526
80hi SpecialChar guifg=#F92672 gui=bold
81hi SpecialComment guifg=#465457 gui=bold
82hi Special guifg=#66D9EF guibg=bg gui=italic
83hi SpecialKey guifg=#888A85 gui=italic
84if has("spell")
85 hi SpellBad guisp=#FF0000 gui=undercurl
86 hi SpellCap guisp=#7070F0 gui=undercurl
87 hi SpellLocal guisp=#70F0F0 gui=undercurl
88 hi SpellRare guisp=#FFFFFF gui=undercurl
89endif
90hi Statement guifg=#F92672 gui=bold
91hi StatusLine guifg=#455354 guibg=fg
92hi StatusLineNC guifg=#808080 guibg=#080808
93hi StorageClass guifg=#FD971F gui=italic
94hi Structure guifg=#66D9EF
95hi Tag guifg=#F92672 gui=italic
96hi Title guifg=#ef5939
97hi Todo guifg=#FFFFFF guibg=bg gui=bold
98
99hi Typedef guifg=#66D9EF
100hi Type guifg=#66D9EF gui=none
101hi Underlined guifg=#808080 gui=underline
102
103hi VertSplit guifg=#808080 guibg=#080808 gui=bold
104hi VisualNOS guibg=#403D3D
105hi Visual guibg=#403D3D
106hi WarningMsg guifg=#FFFFFF guibg=#333333 gui=bold
107hi WildMenu guifg=#66D9EF guibg=#000000
108
109if s:molokai_original == 1
110 hi Normal guifg=#F8F8F2 guibg=#272822
111 hi Comment guifg=#75715E
112 hi CursorLine guibg=#3E3D32
113 hi CursorColumn guibg=#3E3D32
114 hi LineNr guifg=#BCBCBC guibg=#3B3A32
115 hi NonText guifg=#BCBCBC guibg=#3B3A32
116else
117 hi Normal guifg=#F8F8F2 guibg=#1B1D1E
118 hi Comment guifg=#465457
119 hi CursorLine guibg=#293739
120 hi CursorColumn guibg=#293739
121 hi LineNr guifg=#BCBCBC guibg=#232526
122 hi NonText guifg=#BCBCBC guibg=#232526
123end
124
125"
126" Support for 256-color terminal
127"
128if &t_Co > 255
129 hi Boolean ctermfg=135
130 hi Character ctermfg=144
131 hi Number ctermfg=135
132 hi String ctermfg=144
133 hi Conditional ctermfg=161 cterm=bold
134 hi Constant ctermfg=135 cterm=bold
135 hi Cursor ctermfg=16 ctermbg=253
136 hi Debug ctermfg=225 cterm=bold
137 hi Define ctermfg=81
138 hi Delimiter ctermfg=241
139
140 hi DiffAdd ctermbg=24
141 hi DiffChange ctermfg=181 ctermbg=239
142 hi DiffDelete ctermfg=162 ctermbg=53
143 hi DiffText ctermbg=102 cterm=bold
144
145 hi Directory ctermfg=118 cterm=bold
146 hi Error ctermfg=219 ctermbg=89
147 hi ErrorMsg ctermfg=199 ctermbg=16 cterm=bold
148 hi Exception ctermfg=118 cterm=bold
149 hi Float ctermfg=135
150 hi FoldColumn ctermfg=67 ctermbg=16
151 hi Folded ctermfg=67 ctermbg=16
152 hi Function ctermfg=118
153 hi Identifier ctermfg=208
154 hi Ignore ctermfg=244 ctermbg=232
155 hi IncSearch ctermfg=193 ctermbg=16
156
157 hi Keyword ctermfg=161 cterm=bold
158 hi Label ctermfg=229 cterm=none
159 hi Macro ctermfg=193
160 hi SpecialKey ctermfg=81
161
162 hi MatchParen ctermfg=16 ctermbg=208 cterm=bold
163 hi ModeMsg ctermfg=229
164 hi MoreMsg ctermfg=229
165 hi Operator ctermfg=161
166
167 " complete menu
168 hi Pmenu ctermfg=81 ctermbg=16
169 hi PmenuSel ctermbg=244
170 hi PmenuSbar ctermbg=232
171 hi PmenuThumb ctermfg=81
172
173 hi PreCondit ctermfg=118 cterm=bold
174 hi PreProc ctermfg=118
175 hi Question ctermfg=81
176 hi Repeat ctermfg=161 cterm=bold
177 hi Search ctermfg=253 ctermbg=66
178
179 " marks column
180 hi SignColumn ctermfg=118 ctermbg=235
181 hi SpecialChar ctermfg=161 cterm=bold
182 hi SpecialComment ctermfg=245 cterm=bold
183 hi Special ctermfg=81 ctermbg=232
184 hi SpecialKey ctermfg=245
185
186 hi Statement ctermfg=161 cterm=bold
187 hi StatusLine ctermfg=238 ctermbg=253
188 hi StatusLineNC ctermfg=244 ctermbg=232
189 hi StorageClass ctermfg=208
190 hi Structure ctermfg=81
191 hi Tag ctermfg=161
192 hi Title ctermfg=166
193 hi Todo ctermfg=231 ctermbg=232 cterm=bold
194
195 hi Typedef ctermfg=81
196 hi Type ctermfg=81 cterm=none
197 hi Underlined ctermfg=244 cterm=underline
198
199 hi VertSplit ctermfg=244 ctermbg=232 cterm=bold
200 hi VisualNOS ctermbg=238
201 hi Visual ctermbg=235
202 hi WarningMsg ctermfg=231 ctermbg=238 cterm=bold
203 hi WildMenu ctermfg=81 ctermbg=16
204
205 hi Normal ctermfg=252 ctermbg=233
206 hi Comment ctermfg=59
207 hi CursorLine ctermbg=234 cterm=none
208 hi CursorColumn ctermbg=234
209 hi LineNr ctermfg=250 ctermbg=234
210 hi NonText ctermfg=250 ctermbg=234
211end