-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzenifyvim.vim
More file actions
114 lines (84 loc) · 4.43 KB
/
zenifyvim.vim
File metadata and controls
114 lines (84 loc) · 4.43 KB
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
" === custom vim config ===
"
" ==> references
"
" - http://items.sjbach.com/319/configuring-vim-right
" - custom colors : http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
" - color chart : http://choorucode.com/2011/07/29/vim-chart-of-color-names/
" - http://www.sbf5.com/~cduan/technical/vi/vi-4.shtml
" - http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
" hi <groupname> cterm=italia|bold ctermbg=1~255 ctermfg=1~255 .. gui is similar
" some linux distros where term=screen may have issues; ensure that term is not set to term=xterm-256color
" ==> config
" loaded to prevent errors of color sets. the following schemes will reset the colors anyway
colorscheme default
set background=dark
" ==> visual major group
hi normal cterm=NONE ctermbg=234 ctermfg=grey
\ gui=NONE guibg=#1c1c1c guifg=#dadada
" default e.g.pablo|menlo\ regular, (important|common) needs to be set first
hi comment cterm=NONE ctermbg=NONE ctermfg=243
\ gui=NONE guibg=NONE guifg=#767676
" any comments / within a program
hi constant cterm=NONE ctermbg=NONE ctermfg=185
\ gui=NONE guibg=NONE guifg=#d7d75f
" any string e.g.#121212|233, (common) char, number, bool. program constants, such as numbers, quoted strings, or true/false
hi identifier cterm=NONE ctermbg=NONE ctermfg=175
\ gui=NONE guibg=NONE guifg=#d787af
" any variable name or function
hi statement cterm=NONE ctermbg=NONE ctermfg=125
\ gui=NONE guibg=NONE guifg=#af005f
" any statement e.g.if then else, (common) statement, usually a keyword like 'set', 'if' or 'while'
hi preproc cterm=NONE ctermbg=NONE ctermfg=5
\ gui=NONE guibg=NONE guifg=#800080
" any preprocessor e.g.#include #define, (common) preprocessor, such as '#include' in C
hi type cterm=NONE ctermbg=NONE ctermfg=105
\ gui=NONE guibg=NONE guifg=#8787ff
" any type e.g.int long char, (common) variable datatype, such as 'int'
hi special cterm=NONE ctermbg=NONE ctermfg=146
\ gui=NONE guibg=NONE guifg=#afafd7
" any special symbol e.g.(),used for special characters like brackets '(' or '\n' in strings
hi underlined cterm=NONE ctermbg=Red ctermfg=NONE
\ gui=NONE guibg=Red guifg=NONE
" any text that stands out e.g. html links ... text that should be underlined
hi ignore cterm=NONE ctermbg=Red ctermfg=NONE
\ gui=NONE guibg=Red guifg=NONE
" left blank and hidden
hi error cterm=NONE ctermbg=Red ctermfg=NONE
\ gui=NONE guibg=Red guifg=NONE
" any error construct
hi todo cterm=NONE ctermbg=Red ctermfg=NONE
\ gui=NONE guibg=Red guifg=NONE
" anything that needs extra attention, keywords TODO FIXME XXX
" ==> visual minor group
hi linenr cterm=NONE ctermbg=NONE ctermfg=237
\ gui=NONE guibg=NONE guifg=#3a3a3a
" e.g.62, line number color
hi nontext cterm=NONE ctermbg=NONE ctermfg=55
\ gui=NONE guibg=NONE guifg=#875fff
" e.g.~, char at end of file (important|common)
hi pmenuthumb cterm=NONE ctermbg=NONE ctermfg=55
\ gui=NONE guibg=NONE guifg=#875fff
" na
hi cursor cterm=NONE ctermbg=15 ctermfg=NONE
\ gui=NONE guibg=#ffffff guifg=NONE
" the cursor
hi lcursor cterm=NONE ctermbg=15 ctermfg=NONE
\ gui=NONE guibg=#ffffff guifg=NONE
" the cursor
" highlight the current line
hi cursorline cterm=NONE ctermbg=235 ctermfg=NONE
\ gui=NONE guibg=#262626 guifg=NONE
" === status line
" highlight the current line
hi statusline cterm=NONE ctermbg=236 ctermfg=NONE
\ gui=NONE guibg=#262626 guifg=NONE
if version >= 700
au InsertEnter * hi StatusLine cterm=NONE ctermbg=236 ctermfg=185
\ gui=NONE guibg=#303030 guifg=#d7d75f
au InsertLeave * hi StatusLine cterm=NONE ctermbg=236 ctermfg=NONE
\ gui=NONE guibg=#303030 guifg=NONE
endif
" highlight trailing space and tabs
hi SpecialKey cterm=NONE ctermbg=red ctermfg=NONE
\ gui=NONE guibg=red guifg=NONE " highlight the current line