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 pathwatermark.vim
174 lines (147 loc) · 5.11 KB
/
watermark.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
" Vim color file
" watermark v1.0b
" http://www.vim.org/scripts/script.php?script_id=1454
"
" Maintainer: Shawn Axsom <[email protected]>
"
" * Place :colo watermark 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="watermark"
hi Normal guifg=#8b9aaa guibg=#1a202a "1a1823
hi NonText guifg=#382920 guibg=bg
hi Folded guibg=#222038 guifg=#BBDDCC
hi FoldColumn guibg=black guifg=#dbcaa5
hi LineNr guibg=black guifg=#8095d5
hi StatusLine guibg=grey guifg=#203ad5 gui=none
hi StatusLineNC guibg=grey guifg=#1b2058 gui=none
hi VertSplit guibg=#22253d guifg=#223355 gui=none
hi tablinesel guibg=#515a71 guifg=#50aae5 gui=none
hi tabline guibg=#4d4d5f guifg=#5b7098 gui=none
hi tablinefill guibg=#2d2d3f guifg=#aaaaaa gui=none
" syntax highlighting """"""""""""""""""""""""""""""""""""""""
"set comments to grey on non-Windows OS's to make sure
"it is readable
if &term == "builtin_gui" || &term == "win32"
hi Comment guifg=#369960 guibg=bg
else
hi Comment guifg=#559988 guibg=bg
endif
""""""""""""""""""""""""""""""""""""""""""""""""""""""
hi Title guifg=#6d806a gui=none
hi Underlined guifg=#5b759a gui=none
hi Statement guifg=#cac0c0 gui=none
hi Type guifg=#6ac0ba gui=none
hi Constant guifg=#70a0de
hi Number guifg=#1da5da
hi PreProc guifg=#c0a0b0
hi Special guifg=#50a0b0
hi Ignore guifg=grey40
hi Todo guifg=orangered guibg=yellow2
hi Error guibg=#f06070
hi Function guifg=#a090a0 guibg=bg gui=None
hi Identifier guifg=#a090b0
highlight Exception gui=none guifg=#aaa4a0 guibg=bg
"""""this section borrowed from OceanDeep/Midnight"""""
highlight Conditional gui=None guifg=#c08ac0 guibg=bg
highlight Repeat gui=None guifg=#c07ac0 guibg=bg
"hi Label gui=None guifg=LightGreen guibg=bg
highlight Operator gui=None guifg=#aa9a45 guibg=bg
highlight Keyword gui=bold guifg=grey 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 Search guibg=#808373 guifg=#3a4520
hi IncSearch guifg=#babeaa guibg=#3a4520
hi ModeMsg guifg=#00AACC
hi MoreMsg guifg=SeaGreen
hi Question guifg=#AABBCC
hi SpecialKey guifg=#90dcb0
hi Visual guifg=black guibg=#43D5FF
hi VisualNOS guifg=#201a30 guibg=#a3a5FF
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
" 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