-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblack_n_white.vim
More file actions
91 lines (74 loc) · 3.92 KB
/
black_n_white.vim
File metadata and controls
91 lines (74 loc) · 3.92 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
" Vim color file
" Maintainer: Mike Williams <mrmrdubya@gmail.com>
" Last Change: 23rd March 2015
" Version: 1.1
" Copyright (c) 2009-2015 Mike Williams <mrmrdubya@gmail.com>
"
" Permission to use, copy, modify, and distribute this software for any
" purpose with or without fee is hereby granted, provided that the above
" copyright notice and this permission notice appear in all copies.
"
" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
"
" Redesigned as black_n_white by capay.
" https://github.com/capay/black-n-white-vim
" Remove all existing highlighting.
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "black_n_white"
highlight Normal cterm=NONE ctermfg=white ctermbg=none gui=NONE guifg=white guibg=black
highlight NonText ctermfg=white ctermbg=black guifg=white guibg=black
highlight LineNr cterm=NONE ctermfg=gray ctermbg=black gui=NONE guifg=black guibg=gray
" Syntax highlighting scheme
highlight Comment cterm=NONE ctermfg=gray ctermbg=none gui=NONE guifg=gray guibg=black
highlight Constant ctermfg=white ctermbg=none guifg=white guibg=black
highlight String cterm=NONE ctermfg=white ctermbg=none guifg=white guibg=black
highlight Character ctermfg=white ctermbg=none guifg=white guibg=black
highlight Number ctermfg=white ctermbg=none guifg=white guibg=black
" Boolean defaults to Constant
highlight Float ctermfg=white ctermbg=none guifg=white guibg=black
highlight Identifier cterm=NONE ctermfg=white ctermbg=none guifg=white guibg=black
highlight Function ctermfg=white ctermbg=none guifg=white guibg=black
highlight Statement ctermfg=white ctermbg=none guifg=white guibg=black
highlight Conditional ctermfg=white ctermbg=none guifg=white guibg=black
highlight Repeat ctermfg=white ctermbg=none guifg=white guibg=black
highlight Label ctermfg=white ctermbg=none guifg=white guibg=black
highlight Operator ctermfg=white ctermbg=none guifg=white guibg=black
"highlight Visual term=reverse cterm=reverse
highlight Visual cterm=NONE ctermfg=black ctermbg=white gui=NONE guifg=black guibg=white
hi Search cterm=NONE ctermfg=black ctermbg=white
" Keyword defaults to Statement
" Exception defaults to Statement
" highlight PreProc cterm=bold ctermfg=white ctermbg=black gui=bold guifg=white guibg=black
highlight PreProc cterm=NONE ctermfg=white ctermbg=none gui=NONE guifg=white guibg=black
" Include defaults to PreProc
" Define defaults to PreProc
" Macro defaults to PreProc
" PreCondit defaults to PreProc
" highlight Type cterm=bold ctermfg=white ctermbg=black gui=bold guifg=white guibg=black
" highlight Type cterm=NONE ctermfg=white ctermbg=black gui=bold guifg=white guibg=black
highlight Type cterm=NONE ctermfg=white ctermbg=none gui=NONE guifg=white guibg=black
" StorageClass defaults to Type
" Structure defaults to Type
" Typedef defaults to Type
" Like braces and curly braces and things
highlight Special cterm=NONE ctermfg=white ctermbg=none gui=italic guifg=white guibg=black
" SpecialChar defaults to Special
" Tag defaults to Special
" Delimiter defaults to Special
highlight SpecialComment cterm=italic ctermfg=white ctermbg=black gui=italic guifg=white guibg=black
" Debug defaults to Special
highlight Todo cterm=italic,bold ctermfg=white ctermbg=black gui=italic,bold guifg=white guibg=black
" Ideally, the bg color would be black but VIM cannot print black on white!
highlight Error cterm=bold,reverse ctermfg=white ctermbg=grey gui=bold,reverse guifg=white guibg=grey
" vim:et:ff=unix:tw=0:ts=4:sw=4
" EOF print_bw.vim