xoria256.vim 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. " Vim color file
  2. "
  3. " Name: xoria256.vim
  4. " Version: 1.1
  5. " Maintainer: Dmitriy Y. Zotikov (xio) <xio@ungrund.org>
  6. "
  7. " Should work in recent 256 color terminals. 88-color terms like urxvt are
  8. " unsupported.
  9. "
  10. " Don't forget to install 'ncurses-term' and set TERM to xterm-256color or
  11. " similar value.
  12. "
  13. " Color numbers (0-255) see:
  14. " http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
  15. " Bla-bla ----------------------------------------------------------------------
  16. if &t_Co != 256 && ! has("gui_running")
  17. echomsg ""
  18. echomsg "err: please use GUI or a 256-color terminal (so that t_Co=256 could be set)"
  19. echomsg ""
  20. finish
  21. endif
  22. set background=dark
  23. hi clear
  24. if exists("syntax_on")
  25. syntax reset
  26. endif
  27. let colors_name = "xoria256"
  28. " The real part ----------------------------------------------------------------
  29. "" General colors
  30. hi Normal ctermfg=252 guifg=#d0d0d0 ctermbg=000 guibg=#1c1c1c cterm=none gui=none
  31. hi CursorColumn ctermbg=238 guibg=#444444
  32. hi Cursor ctermbg=214 guibg=#ffaf00
  33. hi CursorLine ctermbg=238 guibg=#444444
  34. hi FoldColumn ctermfg=248 guifg=#a8a8a8 ctermbg=bg guibg=bg
  35. hi Folded ctermfg=255 guifg=#eeeeee ctermbg=60 guibg=#5f5f87
  36. hi IncSearch ctermfg=0 guifg=#000000 ctermbg=223 guibg=#ffdfaf cterm=none gui=none
  37. hi NonText ctermfg=248 guifg=#a8a8a8 cterm=bold gui=bold
  38. hi Pmenu ctermfg=0 guifg=#000000 ctermbg=246 guibg=#949494
  39. hi PmenuSbar ctermbg=243 guibg=#767676
  40. hi PmenuSel ctermfg=0 guifg=#000000 ctermbg=243 guibg=#767676
  41. hi PmenuThumb ctermbg=252 guibg=#d0d0d0
  42. hi Search ctermfg=0 guifg=#000000 ctermbg=149 guibg=#afdf5f
  43. hi SignColumn ctermfg=248 guifg=#a8a8a8
  44. hi SpecialKey ctermfg=77 guifg=#5fdf5f
  45. hi StatusLine ctermbg=239 guibg=#4e4e4e cterm=bold gui=bold
  46. hi StatusLineNC ctermbg=237 guibg=#3a3a3a cterm=none gui=none
  47. hi TabLine ctermfg=fg guifg=fg ctermbg=242 guibg=#666666 cterm=underline gui=underline
  48. hi TabLineFill ctermfg=fg guifg=fg ctermbg=242 guibg=#666666 cterm=underline gui=underline
  49. hi VertSplit ctermfg=237 guifg=#3a3a3a ctermbg=237 guibg=#3a3a3a cterm=none gui=none
  50. hi Visual ctermfg=24 guifg=#005f87 ctermbg=153 guibg=#afdfff
  51. hi VIsualNOS ctermfg=24 guifg=#005f87 ctermbg=153 guibg=#afdfff cterm=none gui=none
  52. hi WildMenu ctermfg=0 guifg=#000000 ctermbg=184 guibg=#dfdf00 cterm=bold gui=bold
  53. "" Syntax highlighting
  54. hi Comment ctermfg=244 guifg=#808080
  55. hi Constant ctermfg=229 guifg=#ffffaf
  56. hi Error ctermfg=15 guifg=#ffffff ctermbg=1 guibg=#800000
  57. hi ErrorMsg ctermfg=15 guifg=#ffffff ctermbg=1 guibg=#800000
  58. hi Identifier ctermfg=182 guifg=#dfafdf cterm=none
  59. hi Ignore ctermfg=238 guifg=#444444
  60. hi LineNr ctermfg=248 guifg=#a8a8a8
  61. hi MatchParen ctermfg=188 guifg=#dfdfdf ctermbg=68 guibg=#5f87df cterm=bold gui=bold
  62. hi Number ctermfg=180 guifg=#dfaf87
  63. hi PreProc ctermfg=150 guifg=#afdf87
  64. hi Special ctermfg=174 guifg=#df8787
  65. hi Statement ctermfg=110 guifg=#87afdf cterm=none gui=none
  66. hi Todo ctermfg=0 guifg=#000000 ctermbg=184 guibg=#dfdf00
  67. hi Type ctermfg=146 guifg=#afafdf cterm=none gui=none
  68. hi Underlined ctermfg=39 guifg=#00afff cterm=underline gui=underline
  69. "" Special
  70. """ .diff
  71. hi diffAdded ctermfg=150 guifg=#afdf87
  72. hi diffRemoved ctermfg=174 guifg=#df8787
  73. """ vimdiff
  74. hi diffAdd ctermfg=bg guifg=bg ctermbg=151 guibg=#afdfaf
  75. "hi diffDelete ctermfg=bg guifg=bg ctermbg=186 guibg=#dfdf87 cterm=none gui=none
  76. hi diffDelete ctermfg=bg guifg=bg ctermbg=246 guibg=#949494 cterm=none gui=none
  77. hi diffChange ctermfg=bg guifg=bg ctermbg=181 guibg=#dfafaf
  78. hi diffText ctermfg=bg guifg=bg ctermbg=174 guibg=#df8787 cterm=none gui=none
  79. " vim: set expandtab tabstop=2 shiftwidth=2 smarttab softtabstop=2: