citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

xoria256.vim (6107B)


      1 " Vim color file
      2 "
      3 " Name:       xoria256.vim
      4 " Version:    1.5
      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 " NOT supported.
      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 "
     16 " For a specific filetype highlighting rules issue :syntax list when a file of
     17 " that type is opened.
     18 
     19 " Initialization {{{
     20 if &t_Co != 256 && ! has("gui_running")
     21   echomsg ""
     22   echomsg "err: please use GUI or a 256-color terminal (so that t_Co=256 could be set)"
     23   echomsg ""
     24   finish
     25 endif
     26 
     27 set background=dark
     28 
     29 hi clear
     30 
     31 if exists("syntax_on")
     32   syntax reset
     33 endif
     34 
     35 let colors_name = "xoria256"
     36 "}}}
     37 " Colours {{{1
     38 "" General {{{2
     39 hi Normal       ctermfg=252 guifg=#d0d0d0 ctermbg=234 guibg=#1c1c1c cterm=none gui=none
     40 hi Cursor                                 ctermbg=214 guibg=#ffaf00
     41 hi CursorColumn                           ctermbg=238 guibg=#444444
     42 hi CursorLine                             ctermbg=237 guibg=#3a3a3a cterm=none gui=none
     43 hi Error        ctermfg=15  guifg=#ffffff ctermbg=1   guibg=#800000
     44 hi ErrorMsg     ctermfg=15  guifg=#ffffff ctermbg=1   guibg=#800000
     45 hi FoldColumn   ctermfg=247 guifg=#9e9e9e ctermbg=233 guibg=#121212
     46 hi Folded       ctermfg=255 guifg=#eeeeee ctermbg=60  guibg=#5f5f87
     47 hi IncSearch    ctermfg=0   guifg=#000000 ctermbg=223 guibg=#ffdfaf cterm=none gui=none
     48 hi LineNr       ctermfg=247 guifg=#9e9e9e ctermbg=233 guibg=#121212
     49 hi MatchParen   ctermfg=188 guifg=#dfdfdf ctermbg=68  guibg=#5f87df cterm=bold gui=bold
     50 " TODO
     51 " hi MoreMsg
     52 hi NonText      ctermfg=247 guifg=#9e9e9e ctermbg=233 guibg=#121212 cterm=bold gui=bold
     53 hi Pmenu        ctermfg=0   guifg=#000000 ctermbg=250 guibg=#bcbcbc
     54 hi PmenuSel     ctermfg=255 guifg=#eeeeee ctermbg=243 guibg=#767676
     55 hi PmenuSbar                              ctermbg=252 guibg=#d0d0d0
     56 hi PmenuThumb   ctermfg=243 guifg=#767676
     57 hi Search       ctermfg=0   guifg=#000000 ctermbg=149 guibg=#afdf5f
     58 hi SignColumn   ctermfg=248 guifg=#a8a8a8
     59 hi SpecialKey   ctermfg=77  guifg=#5fdf5f
     60 hi SpellBad     ctermfg=160 guifg=fg      ctermbg=bg                cterm=underline               guisp=#df0000
     61 hi SpellCap     ctermfg=189 guifg=#dfdfff ctermbg=bg  guibg=bg      cterm=underline gui=underline
     62 hi SpellRare    ctermfg=168 guifg=#df5f87 ctermbg=bg  guibg=bg      cterm=underline gui=underline
     63 hi SpellLocal   ctermfg=98  guifg=#875fdf ctermbg=bg  guibg=bg      cterm=underline gui=underline
     64 hi StatusLine   ctermfg=15  guifg=#ffffff ctermbg=239 guibg=#4e4e4e cterm=bold gui=bold
     65 hi StatusLineNC ctermfg=249 guifg=#b2b2b2 ctermbg=237 guibg=#3a3a3a cterm=none gui=none
     66 hi TabLine      ctermfg=fg  guifg=fg      ctermbg=242 guibg=#666666 cterm=none gui=none
     67 hi TabLineFill  ctermfg=fg  guifg=fg      ctermbg=237 guibg=#3a3a3a cterm=none gui=none
     68 " FIXME
     69 hi Title        ctermfg=225 guifg=#ffdfff
     70 hi Todo         ctermfg=0   guifg=#000000 ctermbg=184 guibg=#dfdf00
     71 hi Underlined   ctermfg=39  guifg=#00afff                           cterm=underline gui=underline
     72 hi VertSplit    ctermfg=237 guifg=#3a3a3a ctermbg=237 guibg=#3a3a3a cterm=none gui=none
     73 " hi VIsualNOS    ctermfg=24  guifg=#005f87 ctermbg=153 guibg=#afdfff cterm=none gui=none
     74 " hi Visual       ctermfg=24  guifg=#005f87 ctermbg=153 guibg=#afdfff
     75 hi Visual       ctermfg=255 guifg=#eeeeee ctermbg=96  guibg=#875f87
     76 " hi Visual       ctermfg=255 guifg=#eeeeee ctermbg=24  guibg=#005f87
     77 hi VisualNOS    ctermfg=255 guifg=#eeeeee ctermbg=60  guibg=#5f5f87
     78 hi WildMenu     ctermfg=0   guifg=#000000 ctermbg=150 guibg=#afdf87 cterm=bold gui=bold
     79 
     80 "" Syntax highlighting {{{2
     81 hi Comment      ctermfg=244 guifg=#808080
     82 hi Constant     ctermfg=229 guifg=#ffffaf
     83 hi Identifier   ctermfg=182 guifg=#dfafdf                           cterm=none
     84 hi Ignore       ctermfg=238 guifg=#444444
     85 hi Number       ctermfg=180 guifg=#dfaf87
     86 hi PreProc      ctermfg=150 guifg=#afdf87
     87 hi Special      ctermfg=174 guifg=#df8787
     88 hi Statement    ctermfg=110 guifg=#87afdf                           cterm=none gui=none
     89 hi Type         ctermfg=146 guifg=#afafdf                           cterm=none gui=none
     90 
     91 "" Special {{{2
     92 """ .diff {{{3
     93 hi diffAdded    ctermfg=150 guifg=#afdf87
     94 hi diffRemoved  ctermfg=174 guifg=#df8787
     95 """ vimdiff {{{3
     96 hi diffAdd      ctermfg=bg  guifg=bg      ctermbg=151 guibg=#afdfaf
     97 "hi diffDelete   ctermfg=bg  guifg=bg      ctermbg=186 guibg=#dfdf87 cterm=none gui=none
     98 hi diffDelete   ctermfg=bg  guifg=bg      ctermbg=246 guibg=#949494 cterm=none gui=none
     99 hi diffChange   ctermfg=bg  guifg=bg      ctermbg=181 guibg=#dfafaf
    100 hi diffText     ctermfg=bg  guifg=bg      ctermbg=174 guibg=#df8787 cterm=none gui=none
    101 """ HTML {{{3
    102 " hi htmlTag      ctermfg=146  guifg=#afafdf
    103 " hi htmlEndTag   ctermfg=146  guifg=#afafdf
    104 hi htmlTag      ctermfg=244
    105 hi htmlEndTag   ctermfg=244
    106 hi htmlArg	ctermfg=182  guifg=#dfafdf
    107 hi htmlValue	ctermfg=187  guifg=#dfdfaf
    108 hi htmlTitle	ctermfg=254  ctermbg=95
    109 " hi htmlArg	ctermfg=146
    110 " hi htmlTagName	ctermfg=146
    111 " hi htmlString	ctermfg=187
    112 """ django {{{3
    113 hi djangoVarBlock ctermfg=180
    114 hi djangoTagBlock ctermfg=150
    115 hi djangoStatement ctermfg=146
    116 hi djangoFilter ctermfg=174
    117 """ python {{{3
    118 hi pythonExceptions ctermfg=174
    119 """ NERDTree {{{3
    120 hi Directory      ctermfg=110  guifg=#87afdf
    121 hi treeCWD        ctermfg=180  guifg=#dfaf87
    122 hi treeClosable   ctermfg=174  guifg=#df8787
    123 hi treeOpenable   ctermfg=150  guifg=#afdf87
    124 hi treePart       ctermfg=244  guifg=#808080
    125 hi treeDirSlash   ctermfg=244  guifg=#808080
    126 hi treeLink       ctermfg=182  guifg=#dfafdf
    127 
    128 """ VimDebug {{{3
    129 " FIXME
    130 " you may want to set SignColumn highlight in your .vimrc
    131 " :help sign
    132 " :help SignColumn
    133 
    134 " hi currentLine term=reverse cterm=reverse gui=reverse
    135 " hi breakPoint  term=NONE    cterm=NONE    gui=NONE
    136 " hi empty       term=NONE    cterm=NONE    gui=NONE
    137 
    138 " sign define currentLine linehl=currentLine
    139 " sign define breakPoint  linehl=breakPoint  text=>>
    140 " sign define both        linehl=currentLine text=>>
    141 " sign define empty       linehl=empty
    142