relaxed.vim - www.codemadness.org - www.codemadness.org saait content files
(HTM) git clone git://git.codemadness.org/www.codemadness.org
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
relaxed.vim (5803B)
---
1 " Vim color file
2 " Maintainer: Hiltjo Posthuma <hiltjo@codemadness.nl>
3 " URL: https://www.codemadness.nl/
4 " Updated: 2010-12-11
5 "
6 " TODO:
7 " - replace color names with #rrggbb, see rgb.txt
8 " - make sure term, cterm and gui look (almost) the same.
9 " - fix diff colors.
10 " - test in term, cterm and gui.
11 "
12 " My .Xdefaults colours:
13 "
14 " urxvt.background: #333333
15 " urxvt.foreground: #bebebe
16 "
17 " !black
18 " urxvt*color0: #333333
19 " urxvt*color8: #666666
20 " !red
21 " urxvt*color1: #cd5c5c
22 " urxvt*color9: #ffa0a0
23 " !green
24 " urxvt*color2: #b7ce42
25 " urxvt*color10: #bde077
26 " !yellow
27 " urxvt*color3: #bdb76b
28 " urxvt*color11: #ffe863
29 " !blue
30 " urxvt*color4: #47a2c7
31 " urxvt*color12: #87ceeb
32 " !magenta
33 " urxvt*color5: #a17ba1
34 " urxvt*color13: #d793d7
35 " !cyan
36 " urxvt*color6: #5e9ca7
37 " urxvt*color14: #8ce1f0
38 " !white
39 " urxvt*color7: #eeeeee
40 " urxvt*color15: #ffffff
41 "
42 " NOTE: "grey" is "#a8a8a8" for me, not sure why.
43 "
44 " cool help screens
45 " :he group-name
46 " :he highlight-groups
47 " :he cterm-colors
48
49 set background=dark
50 if version > 580
51 " no guarantees for version 5.8 and below, but this makes it stop
52 " complaining
53 hi clear
54 if exists("syntax_on")
55 syntax reset
56 endif
57 endif
58 let g:colors_name="relaxed"
59
60 "Normal text.
61 hi Normal cterm=none ctermfg=none
62 hi Normal gui=none guifg=#bebebe guibg=#333333
63
64 "Highlight vim groups properly (this is broken atm for me on linux).
65 "hi VimGroup guifg=#eeeeee
66 hi VimGroup ctermfg=grey
67
68 "Non-text.
69 hi NonText cterm=none ctermfg=grey
70 hi NonText gui=none guifg=#a8a8a8 guibg=#333333
71
72 "Cursor.
73 hi Cursor cterm=none
74 hi Cursor gui=none
75 hi CursorLine cterm=none ctermbg=darkgrey
76 hi CursorLine gui=none guibg=#666666
77 hi CursorColumn cterm=none ctermbg=darkgrey
78 hi CursorColumn gui=none guibg=#666666
79
80 "Diff
81 "TODO/NOTE: this isnt used, DiffAdd = Identifier, DiffDelete = Special
82 "hi DiffAdd gui=none guifg=#8ef08c guibg=#333333 ctermfg=darkgreen
83 "hi DiffChange gui=none guifg=#ffe863 guibg=#333333 ctermfg=darkgreen
84 "hi DiffDelete gui=none guifg=#ffa0a0 guibg=#333333 ctermfg=darkred
85 "hi DiffText gui=none guifg=#eeeeee guibg=#494949 ctermfg=grey
86
87 "Vertical split.
88 "hi VertSplit cterm=reverse
89 hi VertSplit cterm=none ctermfg=grey ctermbg=grey
90 hi VertSplit gui=none guifg=#a8a8a8 guibg=#a8a8a8
91
92 "Folded text.
93 hi Folded ctermfg=white ctermbg=darkgrey
94 hi Folded guifg=#ffffff guibg=#666666
95
96 "Folded columns (treeview-like stuff).
97 hi FoldColumn ctermfg=darkgrey ctermbg=none
98 hi FoldColumn guifg=#666666 guibg=#333333
99
100 "Search, matched text.
101 hi Search cterm=none ctermfg=black ctermbg=yellow
102 hi Search guifg=#333333 guibg=#ffe863
103
104 "Incremental Search.
105 hi IncSearch cterm=none ctermfg=black ctermbg=yellow
106 hi IncSearch gui=none guifg=#333333 guibg=#ffe863
107
108 "Mode messages.
109 hi ModeMsg ctermfg=yellow
110 hi ModeMsg guifg=#ffe863
111
112 "'More' messages.
113 hi MoreMsg ctermfg=magenta
114 hi MoreMsg guifg=#d793d7
115
116 hi Question ctermfg=green
117 hi Question guifg=#bde077
118
119 hi SpecialKey ctermfg=green
120 hi SpecialKey guifg=#bde077
121
122 hi StatusLine cterm=none ctermfg=black ctermbg=lightgrey
123 hi StatusLine gui=none guifg=black guibg=lightgrey
124
125 "hi StatusLineNC cterm=reverse
126 hi StatusLineNC cterm=none ctermfg=white ctermbg=darkgrey
127 hi StatusLineNC gui=none guifg=white guibg=#666666
128
129 hi Title ctermfg=red
130 hi Title guifg=#ffa0a0
131
132 "Selected text.
133 hi Visual gui=none guibg=#666666
134 if $TERM == "linux"
135 hi Visual term=reverse
136 else
137 hi Visual cterm=none ctermbg=darkgrey
138 endif
139
140 "Warning messages.
141 hi WarningMsg ctermfg=darkred
142 hi WarningMsg guifg=#cd5c5c
143
144 "Comments.
145 hi Comment ctermfg=blue
146 hi Comment guifg=#87ceeb
147
148 "Strings, values and constants.
149 hi Constant ctermfg=red
150 hi Constant guifg=#ffa0a0
151
152 "Variables and function names.
153 hi Identifier ctermfg=green
154 hi Identifier guifg=#bde077
155
156 "Statements.
157 hi Statement ctermfg=yellow
158 hi Statement gui=none guifg=#ffe863
159
160 "Preprocessor, includes, #define, etc.
161 hi PreProc ctermfg=darkred
162 hi PreProc guifg=#cd5c5c
163
164 "int, long, char, etc.
165 hi Type gui=none guifg=#b7ce42
166 hi Type cterm=none ctermfg=darkgreen
167
168 "Braces and shit.
169 hi Special ctermfg=red
170 hi Special guifg=#ffa0a0
171
172 "TODO.
173 hi Todo ctermfg=black ctermbg=white
174 hi Todo guifg=#333333 guibg=white
175
176 "Error messages.
177 hi Error cterm=none ctermfg=white ctermbg=darkred
178 hi Error gui=none guifg=#ffffff guibg=#cd5c5c
179 hi ErrorMsg cterm=bold ctermfg=white ctermbg=darkred
180 hi ErrorMsg gui=bold guifg=#ffffff guibg=#cd5c5c
181
182 "Line numbers / bar.
183 hi LineNr cterm=none ctermfg=darkgrey ctermbg=black
184 hi LineNr gui=none guifg=#666666 guibg=#333333
185
186 "Pop-up and other menus.
187 hi WildMenu cterm=none ctermfg=white ctermbg=darkgrey
188 hi WildMenu gui=none guifg=#ffffff guibg=#666666
189 hi Pmenu cterm=none ctermfg=lightgrey ctermbg=darkgrey
190 hi Pmenu gui=none guifg=#ffffff guibg=#666666
191 hi PmenuSel cterm=none ctermfg=white ctermbg=grey
192 hi PmenuSel guifg=#ffffff guibg=#a8a8a8
193
194 hi Underlined cterm=underline
195 hi Underlined gui=underline
196
197 hi Ignore cterm=none ctermfg=darkgrey
198 hi Ignore gui=none guifg=#666666
199
200 hi Directory ctermfg=cyan
201 hi Directory guifg=#8ce1f0
202
203 "Matching brackets (highlight).
204 hi MatchParen cterm=none ctermfg=black ctermbg=grey
205 hi MatchParen gui=none guifg=#333333 guibg=#a8a8a8