This repository was archived by the owner on May 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
/
Copy pathkalt.vim
213 lines (193 loc) · 10.9 KB
/
kalt.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
"==============================================================================.
" File: kalt.vim |
" License: Public Domain, FREE as LOVE. |
" Description: A cold colorscheme for GVIM/VIM without bold, italic nor |
" underline font styles (except for spell checking and some GUI |
" elements). On VIM it uses a black background. |
" Note: - Only standard (for all languages) highlight-groups are set. |
" - This colorscheme _should_ look nice everywhere. |
"==============================================================================|
" Author: drachenkiraa, {_drachen_kiraa_}@{_gmail_}.{com_} (remove: _{}) |
" Last Change: 2009 Jul 1 |
" Version: 1.1 |
"==========================================================================={{{1
" Thanks: |
" Starwing Wesley, for telling me that the Cursor disappeared when moving it |
" on a Comment (in gnome-terminal). |
" Changes: |
" 1.0: Public release. |
" 1.1: FIX: Cursor disappeared when moving it in a Comment. This ONLY |
" happened on one terminal (gnome-terminal). Now the Comment ctermfg |
" color is DarkGreen for all 8 color Xterms. But you'll still get the |
" original color (DarkGray) if your terminal supports more colors |
" (or if you set 't_Co' [look below in "Random Tips"]). |
" Changed 'Cursor', 'CursorLine', 'CursorColumn' colors to DarkBlue |
" instead of the ugly Green. |
" Changed 'SpellRare' guifg color from Magenta to DarkMagenta. |
" Changed 'IncSearch' guifg color from LighMagenta to Green. |
" Changed 'PreCondit' guifg color to a Darker Yellow color. |
" Changed 'Special' guifg color from Blue to a Dark Red color. |
" Set ctermfg and guifg options of 'Search' and 'IncSearch' to the |
" background color. |
" Made 'Character' guifg color more brighter. |
" Changed 'Special' guifg color from Blue to a nice Red color. |
"==============================================================================|
" Color Test: :he group-name |
" :so $VIMRUNTIME/syntax/hitest.vim |
" Tested On: - Linux (gvim v6.3, v6.4); |
" - Standard Linux Terminal (vim v6.3, v6.4); |
" - Xterm, Rxvt, Konsole, gnome-terminal (vim v6.3, v6.4). |
" - Windows (gvim v7.1, v7.2); |
" - DOS (vim v7.1, v7.2). |
" TODO: * Test this colorscheme on newer versions of vim/gvim for Linux |
" and other systems (*BSD, Mac, Amiga?). |
" * Are all the has("feature") checks really worth? |
" Please enlighten me if I'm wrong. |
"==============================================================================|
" Random Tips: |
" * If your terminal supports more than 8 colors (which is the case of most |
" modern xterms, rxvts, and others), then it is worth adding the following |
" lines somewhere into your .vimrc: |
" if &term =~ "xterm" |
" set t_Co=16 |
" endif |
" That'll make this colorscheme look a lot better on such terminals. |
" For further help checkout: |
" :he term-dependent-settings |
" :he term |
"===========================================================================}}}1
" Initial setup stuff {{{1
" Remove existing highlighting
if has("gui_running")
set background=light
else
set background=dark
endif
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "kalt"
hi Normal ctermbg=Black ctermfg=Gray cterm=NONE guibg=#eaeaea guifg=Black gui=none
" Vim >= 7.0 specific colors {{{1
if v:version >= 700
" Cursor colors {{{2
hi Cursor ctermbg=DarkBlue ctermfg=fg guibg=DarkBlue guifg=bg gui=none
hi CursorLine ctermbg=DarkBlue guibg=#ccccff gui=none
hi CursorColumn ctermbg=DarkBlue guibg=#ccccff gui=none
" only for Win32, IME status
if has('multi_byte_ime')
hi CursorIM guibg=DarkMagenta guifg=NONE gui=none
endif
" Auto-completion Popup Menu colors {{{2
hi Pmenu ctermbg=DarkCyan ctermfg=bg cterm=NONE guibg=#9999cc guifg=fg gui=none
hi PmenuSel ctermbg=DarkBlue ctermfg=fg cterm=NONE guibg=#333399 guifg=bg gui=none
hi PmenuSbar ctermbg=DarkBlue ctermfg=DarkBlue cterm=NONE guibg=#333399 guifg=fg gui=none
hi PmenuThumb ctermbg=Gray ctermfg=Gray cterm=NONE guibg=#6666cc guifg=fg gui=none
" Tab colors {{{2
if has("windows")
hi TabLine ctermbg=DarkCyan ctermfg=DarkBlue guibg=DarkGray guifg=DarkBlue gui=none
hi TabLineFill ctermbg=DarkCyan ctermfg=DarkBlue guibg=DarkGray guifg=DarkBlue gui=none
hi TabLineSel ctermbg=DarkBlue ctermfg=Gray guibg=DarkBlue guifg=Gray gui=bold
endif
" Spell checking colors {{{2
if has("spell")
hi SpellBad ctermbg=White ctermfg=Red cterm=NONE guisp=Red gui=undercurl
hi SpellCap ctermbg=White ctermfg=Blue cterm=NONE guisp=Blue gui=undercurl
hi SpellLocal ctermbg=White ctermfg=DarkCyan cterm=NONE guisp=DarkCyan gui=undercurl
hi SpellRare ctermbg=White ctermfg=DarkMagenta cterm=NONE guisp=Magenta gui=undercurl
endif
endif "}}}1
" Messages and other texts' colors {{{1
hi WarningMsg ctermbg=bg ctermfg=Red cterm=NONE guibg=bg guifg=Red3 gui=none
hi ErrorMsg ctermbg=Red ctermfg=White cterm=NONE guibg=Red3 guifg=White gui=none
hi ModeMsg ctermbg=bg ctermfg=fg cterm=NONE guibg=bg guifg=fg gui=none
hi MoreMsg ctermbg=bg ctermfg=Green cterm=NONE guibg=bg guifg=DarkGreen gui=none
hi Question ctermbg=bg ctermfg=White cterm=NONE guibg=bg guifg=DarkBlue gui=none
hi Directory ctermbg=bg ctermfg=Blue cterm=NONE guibg=bg guifg=Blue gui=none
hi Title ctermbg=bg ctermfg=Blue cterm=NONE guibg=bg guifg=Blue gui=none
" Diff colors {{{1
if has("diff")
hi DiffAdd ctermbg=Green ctermfg=bg cterm=NONE guibg=LightGreen gui=none
hi DiffChange ctermbg=Blue ctermfg=fg cterm=NONE guibg=LightBlue gui=none
hi DiffDelete ctermbg=Red ctermfg=fg cterm=NONE guibg=LightRed gui=none
hi DiffText ctermbg=Cyan ctermfg=bg cterm=NONE guibg=LightCyan gui=none
endif
" Outline, Fold & Sign columns colors {{{1
hi LineNr ctermbg=bg ctermfg=DarkYellow guibg=Gray85 guifg=Gray40 gui=none
if has("folding")
hi Folded ctermbg=DarkCyan ctermfg=bg cterm=NONE guibg=Gray80 guifg=DarkBlue gui=none
hi FoldColumn ctermbg=DarkCyan ctermfg=bg cterm=NONE guibg=Gray80 guifg=DarkBlue gui=none
endif
if has("signs")
hi SignColumn ctermbg=bg ctermfg=Yellow cterm=NONE guibg=Gray85 guifg=DarkBlue gui=none
endif
" Search & Special characters' colors {{{1
if has("extra_search")
hi Search ctermbg=Yellow ctermfg=bg cterm=NONE guibg=Yellow guifg=fg gui=none
hi IncSearch ctermbg=Green ctermfg=bg cterm=NONE guibg=Green guifg=fg gui=none
endif
hi NonText ctermbg=bg ctermfg=DarkGray guibg=bg guifg=DarkGray gui=none
hi SpecialKey ctermbg=bg ctermfg=Brown guibg=bg guifg=#993333 gui=none
" Window Bars, Status line & Visual mode colors {{{1
hi StatusLine ctermbg=DarkBlue ctermfg=fg cterm=NONE guibg=DarkRed guifg=bg gui=none
if has("windows")
hi StatusLineNC ctermbg=DarkGreen ctermfg=bg cterm=NONE guibg=Gray60 guifg=DarkRed gui=none
endif
if has("vertsplit")
hi VertSplit ctermbg=DarkGreen ctermfg=bg cterm=NONE guibg=DarkRed guifg=bg gui=none
endif
if has("wildmenu")
hi WildMenu ctermbg=bg ctermfg=Green cterm=NONE guibg=bg guifg=DarkRed gui=bold
endif
if has("visual")
hi Visual ctermbg=DarkMagenta ctermfg=bg cterm=NONE guibg=#ccee88 guifg=fg gui=none
hi VisualNOS ctermbg=bg ctermfg=DarkMagenta cterm=NONE guibg=#ccee88 guifg=fg gui=none
endif
" Syntax highlighting colors {{{1
hi Comment ctermbg=bg ctermfg=DarkGray guibg=bg guifg=Gray50 gui=none
" 8 color terminals fix:
" The Cursor disappears when moving it in a Comment. Only happened on
" one terminal: gnome-terminal. This Fixes-it for all other weird
" 8 color terminals.
if (&term =~ "xterm") && (&t_Co < 16)
hi Comment ctermfg=DarkGreen
endif
hi link SpecialComment Comment
hi Character ctermbg=bg ctermfg=Red guibg=bg guifg=#990000 gui=none
hi String ctermbg=bg ctermfg=Magenta guibg=bg guifg=Blue gui=none
hi Constant ctermbg=bg ctermfg=Yellow guibg=bg guifg=DarkGreen gui=none
hi link Number Constant
hi link Float Constant
hi link Boolean Constant
hi Identifier ctermbg=bg ctermfg=Green guibg=bg guifg=DarkGreen gui=none
hi Function ctermbg=bg ctermfg=Green guibg=bg guifg=DarkGreen gui=none
hi Statement ctermbg=bg ctermfg=Blue guibg=bg guifg=DarkBlue gui=none
hi link Conditional Statement
hi link Repeat Statement
hi link Operator Statement
hi link Keyword Statement
hi link Label Statement
hi link Exception Statement
hi Type ctermbg=bg ctermfg=DarkMagenta guibg=bg guifg=DarkMagenta gui=none
hi link StorageClass Type
hi link Structure Type
hi link Typedef Type
hi PreProc ctermbg=bg ctermfg=DarkCyan guibg=bg guifg=DarkCyan gui=none
hi PreCondit ctermbg=bg ctermfg=DarkYellow guibg=bg guifg=#aa8800 gui=none
hi link Include PreProc
hi link Define PreProc
hi Special ctermbg=bg ctermfg=Blue guibg=bg guifg=#990000 gui=none
hi SpecialChar ctermbg=bg ctermfg=Red guibg=bg guifg=Red gui=none
hi Tag ctermbg=bg ctermfg=DarkRed guibg=bg guifg=DarkRed gui=none
hi Delimiter ctermbg=bg ctermfg=DarkRed guibg=bg guifg=DarkRed gui=none
hi Debug ctermbg=bg ctermfg=DarkGray guibg=bg guifg=DarkGray gui=none
hi MatchParen ctermbg=White ctermfg=Black cterm=NONE guibg=Blue guifg=White gui=none
hi Error ctermbg=Red ctermfg=White cterm=NONE guibg=bg guifg=Red gui=none
hi Ignore ctermbg=bg ctermfg=bg cterm=NONE guibg=bg guifg=bg gui=none
hi Todo ctermbg=DarkCyan ctermfg=bg cterm=NONE guibg=DarkCyan guifg=bg gui=none
hi Underlined ctermbg=bg ctermfg=Blue cterm=underline guibg=bg guifg=Blue gui=underline
"}}}1
"==========================================================================={{{1
" vim: set et sw=2 sts=2 ts=8 nowrap:
" vim600: set fdc=2 fdm=marker: