midnight2.vim 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. " Vim color file
  2. " Maintainer: Michael Brailsford <brailsmt@yahoo.com>
  3. " Date: $Date: 2002/11/25 20:25:54 $
  4. " Version: $Revision: 1.1 $
  5. " Inspiration: This colorscheme was inspired by midnight.vim. It is a darker
  6. " version of it. With some colors tweaked.
  7. "
  8. " Thanks: Thanks go to Hans Fugal for creating the colorscheme template.
  9. " Without it I would have been lost creating the original midnight.vim
  10. " Thanks to Mark Lodato for providing vim7 updates.
  11. "
  12. " Note: If you do not like the dark look of the colorscheme, you can
  13. " easily lighten things up with the following line:
  14. " :%s/\(\w\)3/\12/g
  15. " It is easily pasteable into the command line. you can also
  16. " change "\12" to "\11", "\1" or "\14" (if you want things even
  17. " darker). If you do use the "\14" replacement, then it looks
  18. " like your monitor in a fog bank. :)
  19. " your pick:
  20. set background=dark
  21. hi clear
  22. if exists("syntax_on")
  23. syntax reset
  24. endif
  25. let g:colors_name="midnight2"
  26. hi Normal guifg=slategray3 guibg=#000029 ctermfg=14
  27. "Toggle semicolon matching at the end of lines
  28. nmap <silent> <leader>; :call ToggleSemicolonHighlighting()<cr>
  29. "{{{
  30. function! ToggleSemicolonHighlighting()
  31. if exists("b:semicolon")
  32. unlet b:semicolon
  33. hi semicolon guifg=NONE gui=NONE ctermfg=NONE
  34. else
  35. syn match semicolon #;$#
  36. hi semicolon guifg=red3 gui=bold ctermfg=1
  37. let b:semicolon = 1
  38. endif
  39. endfunction
  40. "}}}
  41. hi Cursor guibg=fg guifg=bg ctermfg=0 ctermbg=11
  42. "hi CursorIM
  43. hi Directory gui=bold
  44. hi DiffAdd guibg=slategray4 ctermbg=0
  45. hi DiffChange guibg=steelblue3 guifg=bg gui=NONE
  46. hi DiffDelete guibg=slategray4 guifg=slategray3
  47. hi DiffText guibg=steelblue4 gui=bold
  48. hi ErrorMsg guibg=red3 ctermfg=1
  49. "hi VertSplit
  50. hi Folded guibg=#00001a guifg=yellow3 ctermbg=4 ctermfg=11 gui=NONE
  51. hi FoldColumn guibg=steelblue3 ctermbg=14 guifg=navyblue ctermfg=11 gui=bold
  52. "hi SignColumn
  53. "hi IncSearch
  54. hi LineNr guifg=yellow3 ctermfg=3
  55. hi MatchParen guibg=navyblue gui=italic
  56. hi ModeMsg guifg=yellow3 gui=bold ctermfg=3
  57. "hi MoreMsg( )
  58. "hi NonText
  59. hi Pmenu guibg=steelblue3 guifg=bg ctermfg=7 ctermbg=4 cterm=bold
  60. hi PmenuSel guibg=fg guifg=bg gui=bold ctermfg=4 ctermbg=7 cterm=bold
  61. hi link PmenuSbar Pmenu
  62. "hi PmenuThumb
  63. "hi Question
  64. hi Search guibg=yellow3 guifg=bg
  65. "hi SpecialKey
  66. "hi SpellBad
  67. "hi SpellCap
  68. "hi SpellLocal
  69. "hi SpellRare
  70. hi StatusLine guifg=steelblue3
  71. hi StatusLineNC guifg=steelblue4
  72. "hi TabLine
  73. "hi TabLineFill
  74. "hi TabLineSel
  75. "hi Title
  76. hi Visual guifg=bg guibg=fg
  77. "hi VisualNOS
  78. "hi WarningMsg
  79. "hi WildMenu
  80. "hi Menu
  81. "hi Scrollbar
  82. "hi Tooltip
  83. " syntax highlighting groups
  84. hi Comment guifg=chartreuse3 ctermfg=10
  85. hi Constant guifg=plum3 gui=bold ctermfg=13
  86. hi String guifg=indianred3 ctermfg=5
  87. hi Character guifg=mediumpurple3 ctermfg=5
  88. hi Number guifg=turquoise3 ctermfg=5
  89. "hi Identifier
  90. hi Statement guifg=khaki3 gui=bold ctermfg=15 cterm=underline
  91. hi PreProc guifg=firebrick3 gui=italic ctermfg=9
  92. hi Type guifg=gold3 gui=bold ctermfg=3
  93. hi Special guifg=orange ctermfg=208
  94. hi Underlined ctermfg=white cterm=underline
  95. "hi Ignore
  96. "hi Error
  97. hi Todo guifg=yellow3 guibg=blue3 gui=bold ctermfg=3