-
Notifications
You must be signed in to change notification settings - Fork 0
/
sift.vim
167 lines (143 loc) · 4.9 KB
/
sift.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
" Vim color file
" sift v1.3c
" http://www.vim.org/scripts/script.php?script_id=1454
"
" Maintainer: Shawn Axsom <axs221@gmail.com>
"
" * Place :colo sift in your VimRC/GVimRC file
" * GvimRC if using GUI any
"
" - Thanks to Desert and OceanDeep for their color scheme
" file layouts
" - Thanks to Raimon Grau for his feedback
set background=dark
if version > 580
" no guarantees for version 5.8 and below, but this makes it stop
" complaining
hi clear
if exists("syntax_on")
syntax reset
endif
endif
let g:colors_name="sift"
hi Normal guifg=#b4dcbc guibg=#0c121c
hi NonText guifg=#382920 guibg=#041328
" syntax highlighting """"""""""""""""""""""""""""""""""""""""
hi Comment guifg=#007868
hi Title guifg=#09f909 gui=none
hi Underlined guifg=#49f95f gui=none
hi Statement guifg=#efef70 "gui=none
hi Type guifg=#60e5bf gui=none
hi Constant guifg=#0ad8ff
hi Number guifg=#eabaff
hi PreProc guifg=#f085b4
hi Identifier guifg=#50f0b4
hi Special guifg=#88a0d4
hi Operator guifg=#f0da00
"hi Keyword guifg=green
"hi Error guibg=#408452
hi Function guifg=#c08a50 guibg=bg gui=bold "or green 50b3b0
hi Conditional guifg=#f8f024 guibg=bg
hi Repeat guifg=#ffa400 guibg=bg gui=bold
hi Exception guifg=#dfff80
"hi Ignore guifg=grey40
"hi Todo guifg=orangered guibg=yellow2
"""""this section borrowed from OceanDeep/Midnight"""""
"hi Label gui=None guifg=LightGreen guibg=bg
"highlight Operator gui=None guifg=#daca65 guibg=bg
"highlight Keyword gui=bold guifg=grey guibg=bg
"highlight Exception gui=none guifg=#ea5460 guibg=bg
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
"end syntax highlighting """""""""""""""""""""""""""""""""""""
" highlight groups
"hi CursorIM
hi Directory guifg=#bbd0df
"hi DiffAdd
"hi DiffChange
"hi DiffDelete
"hi DiffText
hi ErrorMsg guibg=#ff4545
hi Cursor guibg=#cad5c0 guifg=#05293d
hi Folded guibg=#201328 guifg=#BBDDCC
hi FoldColumn guibg=#130014 guifg=#dbcaa5
"hi FoldColumn guibg=#83a5cd guifg=#70459F
hi LineNr guibg=bg guifg=#207585 gui=bold
"hi LineNr guibg=#081c30 guifg=#80a0dA
hi StatusLine guibg=#20aaea guifg=#202050 gui=bold
hi StatusLineNC guibg=#2a90c0 guifg=#204050 gui=bold
hi Search guibg=#9a9d8d guifg=#3a4520
hi IncSearch guifg=#caceba guibg=#3a4520
hi VertSplit guibg=#325f95 guifg=grey50 gui=none
hi ModeMsg guifg=#00AACC
hi MoreMsg guifg=SeaGreen
hi Question guifg=#AABBCC
hi SpecialKey guifg=#90dcb0
hi Visual guifg=#4a8FcF guibg=#032F5F
"hi VisualNOS
hi WarningMsg guifg=salmon
"hi WildMenu
"hi Menu
"hi Scrollbar guibg=grey30 guifg=tan
"hi Tooltip
" new Vim 7.0 items
hi Pmenu guibg=#3a6595 guifg=#9aadd5
hi PmenuSel guibg=#4a85ba guifg=#b0d0f0
hi MatchParen guibg=#200080 guifg=#f0f080
" color terminal definitions
hi Normal ctermfg=grey
hi Number ctermfg=blue
highlight Operator ctermfg=yellow
highlight Conditional ctermfg=darkred
highlight Repeat ctermfg=darkred
hi Exception ctermfg=red
hi function ctermfg=darkyellow
hi SpecialKey ctermfg=darkgreen
hi NonText cterm=bold ctermfg=darkgrey
hi Directory ctermfg=darkcyan
hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
hi Search ctermfg=black ctermbg=darkyellow cterm=NONE
hi MoreMsg ctermfg=darkgreen
hi ModeMsg cterm=NONE ctermfg=brown
hi LineNr ctermfg=darkcyan ctermbg=NONE
hi Question ctermfg=green
hi StatusLine ctermfg=blue ctermbg=grey cterm=NONE
hi StatusLineNC ctermfg=black ctermbg=grey cterm=NONE
hi VertSplit ctermfg=black ctermbg=grey cterm=NONE
hi Title ctermfg=Yellow cterm=NONE
hi Visual ctermbg=darkcyan ctermfg=black cterm=NONE
hi VisualNOS ctermbg=darkcyan ctermfg=black cterm=NONE
hi WarningMsg ctermfg=1
hi WildMenu ctermfg=0 ctermbg=3
hi Folded ctermfg=darkgreen ctermbg=NONE cterm=NONE
hi FoldColumn ctermfg=green ctermbg=black
hi DiffAdd ctermbg=4
hi DiffChange ctermbg=5
hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
hi DiffText cterm=bold ctermbg=1
hi identifier ctermfg=darkmagenta
"set comments to grey on non-Windows OS's to make sure
"it is readable
if &term == "builtin_gui" || &term == "win32"
hi Comment ctermfg=darkgrey ctermbg=darkblue
hi IncSearch ctermfg=black ctermbg=grey cterm=NONE
hi Search ctermfg=black ctermbg=darkgrey cterm=NONE
else
hi Comment ctermfg=grey ctermbg=darkblue
hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
hi Search ctermfg=black ctermbg=darkyellow cterm=NONE
endif
""""""""""""""""""""""""""""""""""""""""""""""""""""""
hi Constant ctermfg=blue
hi Special ctermfg=darkmagenta
hi Statement ctermfg=red
hi PreProc ctermfg=magenta
hi Type ctermfg=darkblue " ctermbg=darkblue
hi Underlined ctermfg=yellow cterm=NONE
hi Ignore cterm=bold ctermfg=7
hi Ignore ctermfg=darkgrey
hi Error cterm=bold ctermfg=7 ctermbg=1
" new Vim 7.0 items
hi Pmenu ctermbg=darkblue ctermfg=lightgrey
hi PmenuSel ctermbg=lightblue ctermfg=white
"vim: sw=4