citadel

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

lucius.vim (15305B)


      1 " Vim color file
      2 " Maintainer:   Jonathan Filip <jfilip1024@gmail.com>
      3 " Last Modified: Wed Oct 21, 2009  11:39AM
      4 " Version: 3.1
      5 "
      6 " GUI / 256 color terminal
      7 "
      8 " I started out trying to combine my favorite parts of other schemes and ended
      9 " up with this (oceandeep, moria, peaksea, wombat, zenburn).
     10 "
     11 " This file also tries to have descriptive comments for each higlighting group
     12 " so it is easy to understand what each part does.
     13 
     14 
     15 set background=dark
     16 hi clear
     17 if exists("syntax_on")
     18     syntax reset
     19 endif
     20 let colors_name="lucius"
     21 
     22 " Some other colors to save
     23 " blue: 3eb8e5
     24 " green: 92d400
     25 " c green: d5f876, cae682
     26 " new blue: 002D62
     27 " new gray: CCCCCC
     28 
     29 
     30 " Base color
     31 " ----------
     32 hi Normal           guifg=#e0e0e0           guibg=#202020
     33 hi Normal           ctermfg=253             ctermbg=235
     34 
     35 
     36 " Comment Group
     37 " -------------
     38 " any comment
     39 hi Comment          guifg=#606060                                   gui=none
     40 hi Comment          ctermfg=240                                     cterm=none
     41 
     42 
     43 " Constant Group
     44 " --------------
     45 " any constant
     46 hi Constant         guifg=#8cd0d3                                   gui=none
     47 hi Constant         ctermfg=116                                     cterm=none
     48 " strings
     49 hi String           guifg=#80c0d9                                   gui=none
     50 hi String           ctermfg=110                                     cterm=none
     51 " character constant
     52 hi Character        guifg=#80c0d9                                   gui=none
     53 hi Character        ctermfg=110                                     cterm=none
     54 " numbers decimal/hex
     55 hi Number           guifg=#8cd0d3                                   gui=none
     56 hi Number           ctermfg=116                                     cterm=none
     57 " true, false
     58 hi Boolean          guifg=#8cd0d3                                   gui=none
     59 hi Boolean          ctermfg=116                                     cterm=none
     60 " float
     61 hi Float            guifg=#8cd0d3                                   gui=none
     62 hi Float            ctermfg=116                                     cterm=none
     63 
     64 
     65 " Identifier Group
     66 " ----------------
     67 " any variable name
     68 hi Identifier       guifg=#efaf7f                                   gui=none
     69 hi Identifier       ctermfg=216                                     cterm=none
     70 " function, method, class
     71 hi Function         guifg=#efaf7f                                   gui=none
     72 hi Function         ctermfg=216                                     cterm=none
     73 
     74 
     75 " Statement Group
     76 " ---------------
     77 " any statement
     78 hi Statement        guifg=#b3d38c                                   gui=none
     79 hi Statement        ctermfg=150                                     cterm=none
     80 " if, then, else
     81 hi Conditional      guifg=#b3d38c                                   gui=none
     82 hi Conditional      ctermfg=150                                     cterm=none
     83 " try, catch, throw, raise
     84 hi Exception        guifg=#b3d38c                                   gui=none
     85 hi Exception        ctermfg=150                                     cterm=none
     86 " for, while, do
     87 hi Repeat           guifg=#b3d38c                                   gui=none
     88 hi Repeat           ctermfg=150                                     cterm=none
     89 " case, default
     90 hi Label            guifg=#b3d38c                                   gui=none
     91 hi Label            ctermfg=150                                     cterm=none
     92 " sizeof, +, *
     93 hi Operator         guifg=#b3d38c                                   gui=none
     94 hi Operator         ctermfg=150                                     cterm=none
     95 " any other keyword
     96 hi Keyword          guifg=#b3d38c                                   gui=none
     97 hi Keyword          ctermfg=150                                     cterm=none
     98 
     99 
    100 " Preprocessor Group
    101 " ------------------
    102 " generic preprocessor
    103 hi PreProc          guifg=#f0dfaf                                   gui=none
    104 hi PreProc          ctermfg=223                                     cterm=none
    105 " #include
    106 hi Include          guifg=#f0dfaf                                   gui=none
    107 hi Include          ctermfg=223                                     cterm=none
    108 " #define
    109 hi Define           guifg=#f0dfaf                                   gui=none
    110 hi Define           ctermfg=223                                     cterm=none
    111 " same as define
    112 hi Macro            guifg=#f0dfaf                                   gui=none
    113 hi Macro            ctermfg=223                                     cterm=none
    114 " #if, #else, #endif
    115 hi PreCondit        guifg=#f0dfaf                                   gui=none
    116 hi PreCondit        ctermfg=223                                     cterm=none
    117 
    118 
    119 " Type Group
    120 " ----------
    121 " int, long, char
    122 hi Type             guifg=#93d6a9                                   gui=none
    123 hi Type             ctermfg=115                                     cterm=none
    124 " static, register, volative
    125 hi StorageClass     guifg=#93d6a9                                   gui=none
    126 hi StorageClass     ctermfg=115                                     cterm=none
    127 " struct, union, enum
    128 hi Structure        guifg=#93d6a9                                   gui=none
    129 hi Structure        ctermfg=115                                     cterm=none
    130 " typedef
    131 hi Typedef          guifg=#93d6a9                                   gui=none
    132 hi Typedef          ctermfg=115                                     cterm=none
    133 
    134 
    135 " Special Group
    136 " -------------
    137 " any special symbol
    138 hi Special          guifg=#cca3b3                                   gui=none
    139 hi Special          ctermfg=181                                     cterm=none
    140 " special character in a constant
    141 hi SpecialChar      guifg=#cca3b3                                   gui=none
    142 hi SpecialChar      ctermfg=181                                     cterm=none
    143 " things you can CTRL-]
    144 hi Tag              guifg=#cca3b3                                   gui=none
    145 hi Tag              ctermfg=181                                     cterm=none
    146 " character that needs attention
    147 hi Delimiter        guifg=#cca3b3                                   gui=none
    148 hi Delimiter        ctermfg=181                                     cterm=none
    149 " special things inside a comment
    150 hi SpecialComment   guifg=#cca3b3                                   gui=none
    151 hi SpecialComment   ctermfg=181                                     cterm=none
    152 " debugging statements
    153 hi Debug            guifg=#cca3b3           guibg=NONE              gui=none
    154 hi Debug            ctermfg=181             ctermbg=NONE            cterm=none
    155 
    156 
    157 " Underlined Group
    158 " ----------------
    159 " text that stands out, html links
    160 hi Underlined       guifg=fg                                        gui=underline
    161 hi Underlined       ctermfg=fg                                      cterm=underline
    162 
    163 
    164 " Ignore Group
    165 " ------------
    166 " left blank, hidden
    167 hi Ignore           guifg=bg
    168 hi Ignore           ctermfg=bg
    169 
    170 
    171 " Error Group
    172 " -----------
    173 " any erroneous construct
    174 hi Error            guifg=#e37170           guibg=#432323           gui=none
    175 hi Error            ctermfg=167             ctermbg=52            cterm=none
    176 
    177 
    178 " Todo Group
    179 " ----------
    180 " todo, fixme, note, xxx
    181 hi Todo             guifg=#efef8f           guibg=NONE              gui=underline
    182 hi Todo             ctermfg=228             ctermbg=NONE            cterm=underline
    183 
    184 
    185 " Spelling
    186 " --------
    187 " word not recognized
    188 hi SpellBad         guisp=#ee0000                                   gui=undercurl
    189 hi SpellBad                                 ctermbg=9               cterm=undercurl
    190 " word not capitalized
    191 hi SpellCap         guisp=#eeee00                                   gui=undercurl
    192 hi SpellCap                                 ctermbg=12              cterm=undercurl
    193 " rare word
    194 hi SpellRare        guisp=#ffa500                                   gui=undercurl
    195 hi SpellRare                                ctermbg=13              cterm=undercurl
    196 " wrong spelling for selected region
    197 hi SpellLocal       guisp=#ffa500                                   gui=undercurl
    198 hi SpellLocal                               ctermbg=14              cterm=undercurl
    199 
    200 
    201 " Cursor
    202 " ------
    203 " character under the cursor
    204 hi Cursor           guifg=bg                guibg=#a3e3ed
    205 hi Cursor           ctermfg=bg              ctermbg=153
    206 " like cursor, but used when in IME mode
    207 hi CursorIM         guifg=bg                guibg=#96cdcd
    208 hi CursorIM         ctermfg=bg              ctermbg=116
    209 " cursor column
    210 hi CursorColumn     guifg=NONE              guibg=#202438           gui=none
    211 hi CursorColumn     ctermfg=NONE            ctermbg=236             cterm=none
    212 " cursor line/row
    213 hi CursorLine       gui=NONE                guibg=#202438           gui=none
    214 hi CursorLine       cterm=NONE              ctermbg=236             cterm=none
    215 
    216 
    217 " Misc
    218 " ----
    219 " directory names and other special names in listings
    220 hi Directory        guifg=#c0e0b0                                   gui=none
    221 hi Directory        ctermfg=151                                     cterm=none
    222 " error messages on the command line
    223 hi ErrorMsg         guifg=#ee0000           guibg=NONE              gui=none
    224 hi ErrorMsg         ctermfg=196             ctermbg=NONE            cterm=none
    225 " column separating vertically split windows
    226 hi VertSplit        guifg=#777777           guibg=#363946           gui=none
    227 hi VertSplit        ctermfg=242             ctermbg=237             cterm=none
    228 " columns where signs are displayed (used in IDEs)
    229 hi SignColumn       guifg=#9fafaf           guibg=#181818           gui=none
    230 hi SignColumn       ctermfg=145             ctermbg=233             cterm=none
    231 " line numbers
    232 hi LineNr           guifg=#818698           guibg=#363946
    233 hi LineNr           ctermfg=102             ctermbg=237
    234 " match parenthesis, brackets
    235 hi MatchParen       guifg=#00ff00           guibg=NONE              gui=bold
    236 hi MatchParen       ctermfg=46              ctermbg=NONE            cterm=bold
    237 " the 'more' prompt when output takes more than one line
    238 hi MoreMsg          guifg=#2e8b57                                   gui=none
    239 hi MoreMsg          ctermfg=29                                      cterm=none
    240 " text showing what mode you are in
    241 hi ModeMsg          guifg=#76d5f8           guibg=NONE              gui=none
    242 hi ModeMsg          ctermfg=117             ctermbg=NONE            cterm=none
    243 " the '~' and '@' and showbreak, '>' double wide char doesn't fit on line
    244 hi NonText          guifg=#404040                                   gui=none
    245 hi NonText          ctermfg=235                                     cterm=none
    246 " the hit-enter prompt (show more output) and yes/no questions
    247 hi Question         guifg=fg                                        gui=none
    248 hi Question         ctermfg=fg                                      cterm=none
    249 " meta and special keys used with map, unprintable characters
    250 hi SpecialKey       guifg=#404040
    251 hi SpecialKey       ctermfg=237
    252 " titles for output from :set all, :autocmd, etc
    253 hi Title            guifg=#62bdde                                   gui=none
    254 hi Title            ctermfg=74                                      cterm=none
    255 "hi Title            guifg=#5ec8e5                                   gui=none
    256 " warning messages
    257 hi WarningMsg       guifg=#e5786d                                   gui=none
    258 hi WarningMsg       ctermfg=173                                     cterm=none
    259 " current match in the wildmenu completion
    260 hi WildMenu         guifg=#cae682           guibg=#363946           gui=bold,underline
    261 hi WildMenu         ctermfg=16              ctermbg=186             cterm=bold
    262 
    263 
    264 " Diff
    265 " ----
    266 " added line
    267 hi DiffAdd          guifg=#80a090           guibg=#313c36           gui=none
    268 hi DiffAdd          ctermfg=108             ctermbg=22              cterm=none
    269 " changed line
    270 hi DiffChange       guifg=NONE              guibg=#4a343a           gui=none
    271 hi DiffChange       ctermfg=fg              ctermbg=52              cterm=none
    272 " deleted line
    273 hi DiffDelete       guifg=#6c6661           guibg=#3c3631           gui=none
    274 hi DiffDelete       ctermfg=59              ctermbg=58              cterm=none
    275 " changed text within line
    276 hi DiffText         guifg=#f05060           guibg=#4a343a           gui=bold
    277 hi DiffText         ctermfg=203             ctermbg=52             cterm=bold
    278 
    279 
    280 " Folds
    281 " -----
    282 " line used for closed folds
    283 hi Folded           guifg=#91d6f8           guibg=#363946           gui=none
    284 hi Folded           ctermfg=117             ctermbg=238             cterm=none
    285 " column on side used to indicated open and closed folds
    286 hi FoldColumn       guifg=#91d6f8           guibg=#363946           gui=none
    287 hi FoldColumn       ctermfg=117             ctermbg=238             cterm=none
    288 
    289 
    290 " Search
    291 " ------
    292 " highlight incremental search text; also highlight text replaced with :s///c
    293 hi IncSearch        guifg=#66ffff                                   gui=reverse
    294 hi IncSearch        ctermfg=87                                      cterm=reverse
    295 " hlsearch (last search pattern), also used for quickfix
    296 hi Search                                    guibg=#ffaa33          gui=none
    297 hi Search                                    ctermbg=214            cterm=none
    298 
    299 
    300 " Popup Menu
    301 " ----------
    302 " normal item in popup
    303 hi Pmenu            guifg=#e0e0e0           guibg=#303840           gui=none
    304 hi Pmenu            ctermfg=253             ctermbg=233             cterm=none
    305 " selected item in popup
    306 hi PmenuSel         guifg=#cae682           guibg=#505860           gui=none
    307 hi PmenuSel         ctermfg=186             ctermbg=237             cterm=none
    308 " scrollbar in popup
    309 hi PMenuSbar                                guibg=#505860           gui=none
    310 hi PMenuSbar                                ctermbg=59              cterm=none
    311 " thumb of the scrollbar in the popup
    312 hi PMenuThumb                               guibg=#808890           gui=none
    313 hi PMenuThumb                               ctermbg=102             cterm=none
    314 
    315 
    316 " Status Line
    317 " -----------
    318 " status line for current window
    319 hi StatusLine       guifg=#e0e0e0           guibg=#363946           gui=bold
    320 hi StatusLine       ctermfg=254             ctermbg=237             cterm=bold
    321 " status line for non-current windows
    322 hi StatusLineNC     guifg=#767986           guibg=#363946           gui=none
    323 hi StatusLineNC     ctermfg=244             ctermbg=237             cterm=none
    324 
    325 
    326 " Tab Lines
    327 " ---------
    328 " tab pages line, not active tab page label
    329 hi TabLine          guifg=#b6bf98           guibg=#363946           gui=none
    330 hi TabLine          ctermfg=244             ctermbg=236             cterm=none
    331 " tab pages line, where there are no labels
    332 hi TabLineFill      guifg=#cfcfaf           guibg=#363946           gui=none
    333 hi TabLineFill      ctermfg=187             ctermbg=236             cterm=none
    334 " tab pages line, active tab page label
    335 hi TabLineSel       guifg=#efefef           guibg=#414658           gui=bold
    336 hi TabLineSel       ctermfg=254             ctermbg=236             cterm=bold
    337 
    338 
    339 " Visual
    340 " ------
    341 " visual mode selection
    342 hi Visual           guifg=NONE              guibg=#364458
    343 hi Visual           ctermfg=NONE            ctermbg=24
    344 " visual mode selection when vim is not owning the selection (x11 only)
    345 hi VisualNOS        guifg=fg                                        gui=underline
    346 hi VisualNOS        ctermfg=fg                                      cterm=underline