colorscheme_template.vim 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. " Vim color file
  2. " Maintainer: Your name <youremail@something.com>
  3. " Last Change:
  4. " URL:
  5. " cool help screens
  6. " :he group-name
  7. " :he highlight-groups
  8. " :he cterm-colors
  9. " your pick:
  10. set background=dark " or light
  11. hi clear
  12. if exists("syntax_on")
  13. syntax reset
  14. endif
  15. let g:colors_name="mycolorscheme"
  16. "hi Normal
  17. " OR
  18. " highlight clear Normal
  19. " set background&
  20. " highlight clear
  21. " if &background == "light"
  22. " highlight Error ...
  23. " ...
  24. " else
  25. " highlight Error ...
  26. " ...
  27. " endif
  28. " A good way to see what your colorscheme does is to follow this procedure:
  29. " :w
  30. " :so %
  31. "
  32. " Then to see what the current setting is use the highlight command.
  33. " For example,
  34. " :hi Cursor
  35. " gives
  36. " Cursor xxx guifg=bg guibg=fg
  37. " Uncomment and complete the commands you want to change from the default.
  38. "hi Cursor
  39. "hi CursorIM
  40. "hi Directory
  41. "hi DiffAdd
  42. "hi DiffChange
  43. "hi DiffDelete
  44. "hi DiffText
  45. "hi ErrorMsg
  46. "hi VertSplit
  47. "hi Folded
  48. "hi FoldColumn
  49. "hi IncSearch
  50. "hi LineNr
  51. "hi ModeMsg
  52. "hi MoreMsg
  53. "hi NonText
  54. "hi Question
  55. "hi Search
  56. "hi SpecialKey
  57. "hi StatusLine
  58. "hi StatusLineNC
  59. "hi Title
  60. "hi Visual
  61. "hi VisualNOS
  62. "hi WarningMsg
  63. "hi WildMenu
  64. "hi Menu
  65. "hi Scrollbar
  66. "hi Tooltip
  67. " syntax highlighting groups
  68. "hi Comment
  69. "hi Constant
  70. "hi Identifier
  71. "hi Statement
  72. "hi PreProc
  73. "hi Type
  74. "hi Special
  75. "hi Underlined
  76. "hi Ignore
  77. "hi Error
  78. "hi Todo