]> 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:

- final commit before switching to Colortemplate v2
[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   darkgray      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   darkgray      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                  -> ColorColumn
31 CursorLine                    -> ColorColumn
32 DiffAdd                          brightgreen  black   reverse
33 DiffAdded                        brightgreen  black   reverse
34 DiffChange                       brightblue   black   reverse
35 DiffDelete                       brightred    black   reverse
36 DiffRemoved                      brightred    black   reverse
37 DiffText                         brightgreen  black   reverse
38 Directory                        blue         none    bold
39 EndOfBuffer                      bg0          none
40 Error                            red          none    t=reverse,bold g=standout,bold
41 ErrorMsg                      -> Error
42 Folded                           bg3          bg1     g=italic
43 IncSearch                     -> Search
44 LineNr                           bg3          bg1
45 MatchParen                       none         bg2     bold
46 ModeMsg                          blue         none
47 MoreMsg                          green        none
48 NonText                          bg4          none
49 Pmenu                            fg1          bg2
50 PmenuSbar                        none         bg2
51 PmenuSel                         bg1          fg2    bold
52 PmenuThumb                       none         bg4
53 Question                         darkyellow   none
54 QuickFixLine                  -> Search
55 Search                           brightyellow black   reverse
56 SpecialKey                       bg4          none
57 SpellBad                         red          none    t=underline g=italic,undercurl s=red
58 SpellCap                         blue         none    t=underline g=italic,undercurl s=blue
59 SpellLocal                       cyan         none    t=underline g=italic,undercurl s=cyan
60 SpellRare                        magenta      none    t=underline g=italic,undercurl s=magenta
61 StatusLine                       bg2          fg1     reverse
62 StatusLineNC                     bg1          fg2     reverse
63 StatusLineTerm                -> StatusLine
64 StatusLineTermNC              -> StatusLineNC
65 TabLine                       -> TabLineFill
66 TabLineFill                      fg2          bg3
67 TabLineSel                       fg1          bg1
68 Title                            fg0          none    bold
69 Visual                           none         bg1
70 VisualNOS                     -> Visual
71 WarningMsg                       red          none
72 WildMenu                         blue         bg2     bold
73 # Other conventional group names (see `:help group-name`)
74 Boolean                       -> Constant
75 Character                     -> Constant
76 Comment                          fg3          none
77 Conditional                   -> Statement
78 Constant                         green        none
79 Define                        -> PreProc
80 Debug                         -> Special
81 Delimiter                     -> Special
82 Exception                     -> Statement
83 Float                         -> Constant
84 Function                         cyan         none
85 Identifier                       blue         none
86 Ignore                           fg           none
87 Include                       -> PreProc
88 Keyword                       -> Statement
89 Label                         -> Statement
90 Macro                         -> PreProc
91 Number                        -> Constant
92 Operator                      -> Statement
93 PreCondit                     -> PreProc
94 PreProc                          cyan         none
95 Repeat                        -> Statement
96 SpecialChar                   -> Special
97 SpecialComment                -> Special
98 Statement                        red          none
99 StorageClass                  -> Type
100 Special                          yellow       none
101 String                        -> Constant
102 Structure                     -> Type
103 Tag                           -> Special
104 Todo                             cyan         none    reverse
105 Type                             darkcyan     none
106 Typedef                       -> Type
107 Underlined                       none         none    underline
108 # Language mapping cursor
109 lCursor                       -> Cursor
110 # See `:help CursorIM`
111 CursorIM                         none         none    reverse
112 # See `:help window-toolbar`
113 ToolbarLine                      none         bg3
114 ToolbarButton                    fg0          bg3     bold
115 # }}}
116
117 # Italics {{{
118 verbatim
119 if get(g:, "@optionprefix_italic", 0)
120   hi Comment cterm=italic
121   hi Folded cterm=italic
122   hi SpellBad cterm=italic,underline
123   hi SpellCap cterm=italic,underline
124   hi SpellLocal cterm=italic,underline
125   hi SpellRare cterm=italic,underline
126   hi Todo cterm=italic
127 endif
128 endverbatim
129 # }}}
130
131 # Additional highlight groups {{{
132 # Input mode cursor
133 iCursor                       -> Cursor
134 # Visual mode cursor, selection
135 vCursor                       -> Cursor
136
137 # Useful for custom status lines
138 NormalMode                       fg2          bg0     reverse
139 InsertMode                       blue         bg0     reverse
140 ReplaceMode                      cyan         bg0     reverse
141 VisualMode                       yellow       bg0     reverse
142 CommandMode                      magenta      bg0     reverse
143 Warnings                         yellow       bg0     reverse
144 # }}}
145
146 # Terminal colors {{{
147 Include: _terminal.colortemplate
148 # }}}
149