]> git.madduck.net Git - etc/vim.git/blob - templates/_common.colortemplate

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

- change DiffText to green
[etc/vim.git] / templates / _common.colortemplate
1 # vim: ft=colortemplate fdm=marker
2
3 # Default highlight groups {{{
4 verbatim
5 if !has('gui_running') && get(g:, '@optionprefix_transp_bg', 0)
6 endverbatim
7   # Transparent background
8   Normal       fg1           none
9   CursorLineNr yellow        none
10   FoldColumn   brightblack   none
11   SignColumn   fg2           none
12   VertSplit    bg3           none
13 verbatim
14 else
15 endverbatim
16   # Opaque background
17   Normal       fg1           bg0
18   CursorLineNr yellow        bg1
19   FoldColumn   brightblack   bg1
20   SignColumn   fg2           bg1
21   VertSplit    bg3           bg0
22 verbatim
23 endif
24 endverbatim
25
26 # Group                          Fg           Bg      Attributes
27 ColorColumn                      none         bg1
28 Conceal                          blue         none
29 Cursor                           none         none    reverse
30 CursorColumn                  -> CursorLine
31 CursorLine                       none         bg1     bold,italic
32 DiffAdd                          fg4          brightgreen
33 DiffChange                       fg4          brightblue
34 DiffDelete                       fg4          brightred
35 DiffText                         fg4          brightgreen
36 Directory                        blue         none    bold
37 EndOfBuffer                      bg0          none
38 Error                            bg0          red
39 ErrorMsg                      -> Error
40 Folded                           brightblack  bg1     g=italic
41 IncSearch                        brightyellow black   reverse
42 LineNr                           bg3          bg1
43 MatchParen                       none         bg2     bold
44 ModeMsg                          blue         none
45 MoreMsg                          green        none
46 NonText                          bg4          none
47 Pmenu                            fg1          bg2
48 PmenuSbar                        none         bg2
49 PmenuSel                         bg1          blue    bold
50 PmenuThumb                       none         bg4
51 Question                         darkyellow   none
52 QuickFixLine                  -> Search
53 Search                           brightyellow black   reverse
54 SpecialKey                       bg4          none
55 SpellBad                         red          none    t=underline g=italic,undercurl s=red
56 SpellCap                         blue         none    t=underline g=italic,undercurl s=blue
57 SpellLocal                       cyan         none    t=underline g=italic,undercurl s=cyan
58 SpellRare                        magenta      none    t=underline g=italic,undercurl s=magenta
59 StatusLine                       bg2          fg1     reverse
60 StatusLineNC                     bg1          fg2     reverse
61 StatusLineTerm                -> StatusLine
62 StatusLineTermNC              -> StatusLineNC
63 TabLine                       -> TabLineFill
64 TabLineFill                      fg2          bg3
65 TabLineSel                       fg1          bg1
66 Title                            fg0          none    bold
67 Visual                           none         bg1
68 VisualNOS                     -> Visual
69 WarningMsg                       red          none
70 WildMenu                         blue         bg2     bold
71 # Other conventional group names (see `:help group-name`)
72 Boolean                          magenta      none
73 Character                        magenta      none
74 Comment                          brightblack  none    g=italic
75 Conditional                      red          none
76 Constant                         magenta      none
77 Define                           cyan         none
78 Debug                            red          none
79 Delimiter                     -> Statement
80 Exception                        red          none
81 Float                            magenta      none
82 Function                         blue         none    bold
83 Identifier                       cyan         none
84 Ignore                           fg           none
85 Include                          cyan         none
86 Keyword                          red          none
87 Label                         -> Statement
88 Macro                            cyan         none
89 Number                           magenta      none
90 Operator                      -> Normal
91 PreCondit                        cyan         none
92 PreProc                          cyan         none
93 Repeat                           red          none
94 SpecialChar                      red          none
95 SpecialComment                   red          none
96 Statement                        red          none
97 StorageClass                     green        none
98 Special                          yellow       none
99 String                           green        none
100 Structure                        cyan         none
101 Tag                           -> Special
102 Todo                             fg           bg0     t=bold g=bold,italic
103 Type                             cyan         none
104 Typedef                          cyan         none
105 Underlined                       blue         none    underline
106 # Language mapping cursor
107 lCursor                       -> Cursor
108 # See `:help CursorIM`
109 CursorIM                         none         none    reverse
110 # See `:help window-toolbar`
111 ToolbarLine                      none         bg3
112 ToolbarButton                    fg0          bg3     bold
113 # }}}
114
115 # Italics {{{
116 verbatim
117 if get(g:, "@optionprefix_italic", 0)
118   hi Comment cterm=italic
119   hi Folded cterm=italic
120   hi SpellBad cterm=italic,underline
121   hi SpellCap cterm=italic,underline
122   hi SpellLocal cterm=italic,underline
123   hi SpellRare cterm=italic,underline
124   hi Todo cterm=italic
125 endif
126 endverbatim
127 # }}}
128
129 # Additional highlight groups {{{
130 # Input mode cursor
131 iCursor                       -> Cursor
132 # Visual mode cursor, selection
133 vCursor                       -> Cursor
134
135 # Useful for custom status lines
136 NormalMode                       fg2          bg0     reverse
137 InsertMode                       blue         bg0     reverse
138 ReplaceMode                      cyan         bg0     reverse
139 VisualMode                       yellow       bg0     reverse
140 CommandMode                      magenta      bg0     reverse
141 Warnings                         yellow       bg0     reverse
142 # }}}
143
144 # Terminal colors {{{
145 Include: _terminal.colortemplate
146 # }}}
147