wargrey.vim 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. " Vim color file
  2. " Maintainer: WarGrey <juzhenliang@gmail.com>
  3. " Last Change: $Date: 2008/07/28 21:30:30 $
  4. " Version: $Id: wargrey.vim, v1.0 2008/07/28 21:30:30 $
  5. " help command
  6. " :he group-name
  7. " :he highiight-groups
  8. " :he cterm-colors
  9. set background=dark
  10. if version > 580
  11. " no guarantees for version 5.8 and below, but this makes it stop
  12. " complaining
  13. hi clear
  14. if exists("syntax_on")
  15. syntax reset
  16. endif
  17. endif
  18. let g:colors_name="wargrey"
  19. " Boolean constant: true FALSE ...
  20. hi Boolean ctermfg=red guifg=red
  21. " Character constant: 'A' 'b' ...
  22. hi Character ctermfg=magenta guifg=magenta
  23. " Any comments
  24. hi Comment ctermfg=darkgrey guifg=darkgrey
  25. " The condition-keywords: if switch endif ...
  26. hi Conditional ctermfg=darkcyan guifg=darkcyan
  27. " Any constants
  28. hi Constant ctermfg=red guifg=red
  29. " The column that the cursor is in
  30. hi CursorColumn ctermfg=none ctermbg=none
  31. " The character under the cursor
  32. hi Cursor guibg=khaki guifg=slategrey
  33. " [IM mode] The character under the cursor
  34. hi CursorIM ctermbg=none ctermfg=none
  35. " The line that the cursor is in
  36. hi CursorLine ctermfg=none ctermbg=none
  37. " Any debugging statement
  38. hi Debug ctermfg=darkred guifg=darkred
  39. " Any preprocessors like '#define' in C/C++ language
  40. hi Define ctermfg=blue guifg=blue
  41. " The character that needs attention: * ? ...
  42. hi Delimiter ctermfg=yellow guifg=yellow
  43. " [Diff mode] The added line
  44. hi DiffAdd ctermfg=green ctermbg=darkgray guifg=green guibg=darkgray
  45. " [Diff mode] The changed line
  46. hi DiffChange ctermfg=yellow ctermbg=darkgrey guifg=yellow guibg=darkgrey
  47. " [Diff mode] The deleted line
  48. hi DiffDelete ctermfg=black ctermbg=darkgrey guifg=black guibg=darkgrey
  49. " [Diff mode] The changed texts within the changed line
  50. hi DiffText ctermfg=blue ctermbg=darkgrey guifg=blue guibg=darkgrey
  51. " Directory names or the items' label in the list
  52. hi Directory ctermfg=darkcyan guifg=darkcyan
  53. " Any erroneous structure
  54. hi Error cterm=bold ctermfg=darkred ctermbg=darkgray guifg=darkred guibg=darkgray
  55. " The error message on the command line
  56. hi ErrorMsg cterm=bold ctermfg=darkred ctermbg=darkgray guifg=darkred guibg=darkgray
  57. " The exception-keywords: throws try finally ...
  58. hi Exception ctermfg=darkmagenta guifg=darkmagenta
  59. " The floating point constants: 6.67e-11
  60. hi Float ctermfg=red guifg=red
  61. " The column with the specified width which indicates open and closed folds.
  62. hi FoldColumn ctermfg=grey ctermbg=none guifg=grey
  63. " The lines used for closed folds
  64. hi Folded ctermfg=grey ctermbg=none guibg=grey30 guifg=grey
  65. " The name of functions methods and classes ...
  66. hi Function ctermfg=blue guifg=blue
  67. " Any variable's name, also be used for the global functions
  68. hi Identifier ctermfg=brown guifg=brown
  69. " Any left blank and hidden
  70. hi Ignore cterm=bold ctermfg=grey ctermbg=darkgrey guifg=grey guibg=darkgrey
  71. " The preprocessors for indicating the included sources
  72. hi Include ctermfg=magenta guifg=magenta
  73. " The texts that been searched or replaced by the '%s///c'
  74. hi IncSearch cterm=none ctermfg=yellow ctermbg=green guifg=yellow guibg=green
  75. " Any other keywords: native assert ...
  76. hi Keyword ctermfg=darkcyan guifg=darkcyan
  77. " Any labels: case default ...
  78. hi Label ctermfg=darkgray guifg=darkgray
  79. " The line number
  80. hi LineNr ctermfg=brown guifg=brown
  81. " Any preprocessors like '#define' in C/C++ language
  82. hi Macro ctermfg=darkmagenta guifg=darkmagenta
  83. " The character of the paired bracket which under the cursor or just before it,
  84. hi MatchParen ctermfg=brown guifg=brown
  85. " The mode message: -- INSERT -- ...
  86. hi ModeMsg cterm=none ctermfg=red guifg=red
  87. " The message is given with the '-- More --'
  88. hi MoreMsg ctermfg=darkgreen guifg=darkgreen
  89. " The characters appear only when line wraps happen: '@' '-'
  90. hi NonText cterm=bold ctermfg=black guifg=black
  91. " The keywords recongnized as name space: public internal ...
  92. hi NameSpace ctermfg=darkgreen guifg=darkgreen
  93. " The normal Text
  94. hi Normal guifg=white guifg=white
  95. " The number constants: 1987 0x00ff00 ...
  96. hi Number ctermfg=red guifg=red
  97. " Any operators: 'new' '+' ...
  98. hi Operator ctermfg=yellow guifg=yellow
  99. " [Popup menu] The normal items
  100. hi Pmenu ctermfg=blue ctermbg=none guifg=blue
  101. " [Popup menu] The scrollbar
  102. hi PmenuSbar ctermbg=none
  103. " [Popup menu] The selected item
  104. hi PmenuSel ctermfg=green ctermbg=none guifg=green
  105. " [Popup menu] The thumb of the scrollbar
  106. hi PmenuThumb ctermfg=darkcyan guifg=darkcyan
  107. " Any condition-preprocessors: #if #elseif ...
  108. hi PreCondit ctermfg=cyan guifg=cyan
  109. " Any generic preprocessors
  110. hi PreProc ctermfg=magenta guifg=magenta
  111. " The prompt message of command: 'y/q' ...
  112. hi Question ctermfg=green guifg=green
  113. " The repeat-keywords: for each in ...
  114. hi Repeat ctermfg=cyan guifg=cyan
  115. " The last searched pattern or
  116. " the line in the quickfix window and some similiar items that need to stand out
  117. hi Search ctermfg=cyan ctermbg=none guifg=cyan
  118. " The line where the signs displayed,
  119. " the sign may be a breakpoint or an icon
  120. hi SignColumn ctermbg=black ctermbg=black
  121. " Any special symbols such as a regular expressions etc.
  122. hi Special ctermfg=darkmagenta guifg=darkmagenta
  123. " The special character within a constant
  124. hi SpecialChar ctermfg=red guifg=red
  125. " The special things within the comment
  126. hi SpecialComment ctermfg=darkgray guifg=darkgray
  127. " The meta and special keyboard keys or
  128. " the text used to show the unprintable characters
  129. hi SpecialKey ctermfg=darkcyan guifg=darkcyan
  130. " The word that does not recognized by the spellchecker
  131. hi SpellBad ctermfg=darkred guifg=darkred
  132. " The word should starts with a capital
  133. hi SpellCap ctermfg=green guifg=green
  134. " The word is recognized by the spellchecker and used in another region
  135. hi SpellLocal ctermfg=brown guifg=brown
  136. " The word is recognized by the spellchecker and hardly ever used
  137. hi SpellRare ctermfg=yellow guifg=yellow
  138. " Any statements
  139. hi Statement ctermfg=darkcyan guifg=darkcyan
  140. " The status line of current window
  141. hi StatusLine cterm=underline ctermfg=gray gui=underline guifg=gray
  142. " The status line of non-current window
  143. hi StatusLineNC cterm=underline ctermfg=darkgray gui=underline guifg=darkgray
  144. " The limit-keywords of structures: static register ...
  145. hi StorageClass ctermfg=cyan guifg=cyan
  146. " The string constant
  147. hi String ctermfg=brown guifg=brown
  148. " Any structures seems that they are complex types: class union @interface ...
  149. hi Structure ctermfg=green guifg=green
  150. " [Table line] Not active table page label
  151. hi TabLine ctermfg=red guifg=red
  152. " [Table line] Where there are no labels
  153. hi TabLineFill ctermfg=gray ctermbg=blue guifg=gray guibg=blue
  154. " [Table line] Active table page label
  155. hi TabLineFillSel ctermfg=blue guifg=blue
  156. " Any tags which can use <C-]> on
  157. hi Tag ctermfg=darkmagenta guifg=darkmagenta
  158. " Any titles for output from ':autocmd' or ':set all'
  159. hi Title ctermfg=green guifg=green
  160. " Any tasks which need extra attention that marked in the comment
  161. hi Todo ctermfg=yellow ctermbg=none guifg=yellow
  162. " Any basic data types: int double ...
  163. hi Type ctermfg=green guifg=green
  164. " Any type definition: public class; private set width; ...
  165. hi Typedef ctermfg=blue guifg=blue
  166. " The text stand out the HTML link
  167. hi Underlined cterm=underline ctermfg=blue gui=underline guifg=blue
  168. " The column sparating vertically split window
  169. hi VertSplit cterm=none ctermfg=darkgray gui=none guifg=darkgray
  170. " The visual mode selection
  171. hi Visual cterm=reverse gui=none guifg=khaki guibg=olivedrab
  172. " The visual mode selection 'NOT OWNED BY VIM'
  173. hi VisualNOS cterm=bold,underline
  174. " The warning message
  175. hi WarningMsg ctermfg=yellow guifg=yellow
  176. " The current match in 'wildmenu' completion
  177. hi WildMenu ctermfg=black ctermbg=darkcyan guifg=black guibg=darkcyan