3 " Designed for dark and partially transparent terminals with 256 colors. It
4 " doesn't work (yet) with GVim.
6 " Tested with xterm and (u)rxvt (both with -256color).
8 " Not all available highlight groups are used at the moment.
10 " Some new highlight groups are defined which can be used in syntax files, see
11 " "GENERAL ADDITIONS" below. They have to be configured to work.
13 " Maintainer: Simon Ruderich <simon@ruderich.org>
14 " Last Change: 2012-06-21
17 " Copyright (C) 2011-2012 Simon Ruderich
19 " This file is free software: you can redistribute it and/or modify
20 " it under the terms of the GNU General Public License as published by
21 " the Free Software Foundation, either version 3 of the License, or
22 " (at your option) any later version.
24 " This file is distributed in the hope that it will be useful,
25 " but WITHOUT ANY WARRANTY; without even the implied warranty of
26 " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 " GNU General Public License for more details.
29 " You should have received a copy of the GNU General Public License
30 " along with this file. If not, see <http://www.gnu.org/licenses/>.
33 " This color scheme only works with 256 colors.
35 echoerr 'Colorscheme "simon" needs 256 colors. Aborting.'
40 " This color scheme is (only) designed for a dark background.
44 " :highlight clear resets this variable, so put it after it.
45 let g:colors_name = 'simon'
48 " GENERAL HIGHLIGHT SETTINGS
50 " Normal text (very light gray on default terminal background). ctermbg=NONE
51 " necessary for transparency.
52 highlight Normal ctermfg=252 ctermbg=NONE
54 " Comments (violet on default).
55 highlight Comment ctermfg=135
56 " Constants (light dark red on default).
57 highlight Constant ctermfg=160
58 " Strings, e.g. ".." (dark orange on default).
59 highlight String ctermfg=208
60 " Characters, e.g. '.' in C (lighter dark orange on default).
61 highlight Character ctermfg=215
62 " Numbers (light magenta on default).
63 highlight Number ctermfg=207
64 highlight Float ctermfg=207
65 " Identifier (cyan on default). cterm=NONE to prevent bold.
66 highlight Identifier ctermfg=51 cterm=NONE
67 " Function names, often used for predefined functions (cyan on default).
68 highlight Function ctermfg=51 cterm=NONE
69 " Statements, e.g. return, continue, etc. (yellow on default).
70 highlight Statement ctermfg=227 cterm=bold
71 " Preprocessor commands, e.g. #include in cpp (light blue on default).
72 highlight PreProc ctermfg=63 cterm=bold
73 " Types of variables, e.g. int, long, etc. (light green on default).
74 highlight Type ctermfg=83 cterm=bold
75 " static, volatile, etc. (lighter green on default).
76 highlight StorageClass ctermfg=120 cterm=bold
77 " Special characters (red on default).
78 highlight Special ctermfg=160
79 " Special characters in a string, e.g. '\n' (red on default).
80 highlight SpecialChar ctermfg=160
81 " Delimiter characters, e.g. braces around function arguments in some
82 " languages (dark red on default).
83 highlight Delimiter ctermfg=52
84 " Special items inside a comment (light violent on darker violet).
85 highlight SpecialComment ctermfg=135 ctermbg=93
86 " (Syntax) Errors (white on red).
87 highlight Error ctermfg=231 ctermbg=196
88 " Todo items and other important stuff (e.g. TODO, XXX, etc.) (black on
90 highlight Todo ctermfg=16 ctermbg=226
93 " Additional highlights used by the "GUI", not directly by syntax
96 " Columns set with 'colorcolumn' (default on bright violet).
97 highlight ColorColumn ctermbg=57
98 " Cursor color (black on light yellow).
99 highlight Cursor ctermfg=16 ctermbg=227
100 " Cursor color when IME or XIM is on, :h CursorIM (not used, keep in sync with
102 highlight CursorIM ctermfg=16 ctermbg=227
103 " Current cursor column/line (current color on light gray). cterm=NONE to
104 " prevent underlining.
105 highlight CursorColumn ctermbg=241 cterm=NONE
106 highlight CursorLine ctermbg=241 cterm=NONE
107 " Directories in file listings (blue on default).
108 highlight Directory ctermfg=27 cterm=bold
109 " Error messages (white on red).
110 highlight ErrorMsg ctermfg=231 ctermbg=196
111 " Fold column, left of number column (lighter yellow on default), ctermbg=NONE
112 " necessary for transparency.
113 highlight FoldColumn ctermfg=228 ctermbg=NONE
114 " Current search match during incremental search (black on orange).
115 highlight IncSearch ctermfg=16 ctermbg=214
116 " Line number in line number column (light yellow on default).
117 highlight LineNr ctermfg=227
118 " Matching brace/bracket when the cursor is currently on the other one
119 " (default on light green).
120 highlight MatchParen ctermbg=40
121 " 'showmode' message, e.g. "-- INSERT --" (light gray on default).
122 highlight ModeMsg ctermfg=247
123 " More prompt (:h more-prompt) (light green on default).
124 highlight MoreMsg ctermfg=119
125 " Characters which do not really exist in the text (:h NonText) (gray-like
127 highlight NonText ctermfg=105
128 " Last search pattern for 'hlsearch' (keep in sync with IncSearch).
129 highlight Search ctermfg=16 ctermbg=214
130 " Special characters, e.g. tabs, control characters (e.g. ^K), etc. (light
132 highlight SpecialKey ctermfg=69
133 " Spelling mistake (default on light violet).
134 highlight SpellBad ctermbg=127
135 " Wrong capitalization (default on light blue).
136 highlight SpellCap ctermbg=27
137 " Status line of the currently active window (bold and reverse).
138 highlight StatusLine cterm=reverse,bold
139 " Status line of inactive windows (reverse).
140 highlight StatusLineNC cterm=reverse
141 " Titles in output from :set all, :autocmd, etc. (light blue on default). Also
143 highlight Title ctermfg=63 cterm=bold
144 " Vertical split column (black on default), black to try to hide it
145 " (ctermfg=NONE doesn't work), cterm=NONE is necessary to remove reverse. Also
146 " see my vimrc for a way to hide it completely (the column is still there, but
148 highlight VertSplit ctermfg=16 cterm=NONE
149 " Current visual selection (default on light gray).
150 highlight Visual ctermbg=246
151 " Warning messages (white on orange).
152 highlight WarningMsg ctermfg=231 ctermbg=166
154 " Cursor color when language mappings are used, :h lCursor (not used, keep in
156 highlight lCursor ctermfg=16 ctermbg=227
161 " Tab characters (if 'list' is enabled) to reduce their visibility in
162 " comparison with SpecialKey (darker gray on default).
164 " Needs matchadd('specialKeyTab', '\t') in vimrc.
165 highlight specialKeyTab ctermfg=239
167 " Statement control keywords (e.g. continue, break, return, goto, etc.), extra
168 " syntax item to make them extra visible (keep in sync with Statement, except
171 " Needs a modified syntax file or additional rules in after/syntax/.
175 " syntax keyword statementControl continue break return goto
179 " highlight link perlStatementControl statementControl
180 highlight statementControl ctermfg=227 cterm=bold,underline