vim-djmoch

My own personal Vim colorscheme
git clone git://git.danielmoch.com/vim-djmoch.git
Log | Files | Refs | README

djmoch.vim (9671B)


      1 " djmoch.vim -- Vim color scheme.
      2 " Author:      Daniel Moch (daniel@danielmoch.com)
      3 " Webpage:     https://git.danielmoch.com/vim-djmoch
      4 " Description: My personal color schemee
      5 " Last Change: 2019-09-14
      6 
      7 hi clear
      8 
      9 if exists("syntax_on")
     10   syntax reset
     11 endif
     12 
     13 let colors_name = "djmoch"
     14 
     15 if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running")
     16     hi Normal ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     17 
     18     set background=light
     19 
     20     hi NonText ctermbg=15 ctermfg=25 cterm=NONE guibg=#ffffff guifg=#005faf gui=NONE
     21     hi Comment ctermbg=15 ctermfg=29 cterm=NONE guibg=#ffffff guifg=#00875f gui=NONE
     22     hi Constant ctermbg=15 ctermfg=88 cterm=NONE guibg=#ffffff guifg=#870000 gui=NONE
     23     hi Identifier ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     24     hi Statement ctermbg=15 ctermfg=25 cterm=NONE guibg=#ffffff guifg=#005faf gui=NONE
     25     hi PreProc ctermbg=15 ctermfg=97 cterm=NONE guibg=#ffffff guifg=#875faf gui=NONE
     26     hi Type ctermbg=15 ctermfg=97 cterm=NONE guibg=#ffffff guifg=#875faf gui=NONE
     27     hi Special ctermbg=15 ctermfg=29 cterm=NONE guibg=#ffffff guifg=#00875f gui=NONE
     28     hi Underlined ctermbg=15 ctermfg=0 cterm=undercurl guibg=#ffffff guifg=#000000 gui=undercurl
     29     hi Ignore ctermbg=15 ctermfg=250 cterm=NONE guibg=#ffffff guifg=#bcbcbc gui=NONE
     30     hi Error ctermbg=88 ctermfg=15 cterm=NONE guibg=#870000 guifg=#ffffff gui=NONE
     31     hi Todo ctermbg=15 ctermfg=0 cterm=reverse guibg=#ffffff guifg=#000000 gui=reverse
     32     hi StatusLine ctermbg=25 ctermfg=15 cterm=NONE guibg=#005faf guifg=#ffffff gui=NONE
     33     hi StatusLineNC ctermbg=237 ctermfg=75 cterm=NONE guibg=#3a3a3a guifg=#5fafff gui=NONE
     34     hi VertSplit ctermbg=15 ctermfg=250 cterm=NONE guibg=#ffffff guifg=#bcbcbc gui=NONE
     35     hi TabLine ctermbg=250 ctermfg=15 cterm=NONE guibg=#bcbcbc guifg=#ffffff gui=NONE
     36     hi TabLineFill ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     37     hi TabLineSel ctermbg=25 ctermfg=15 cterm=NONE guibg=#005faf guifg=#ffffff gui=NONE
     38     hi Title ctermbg=15 ctermfg=25 cterm=NONE guibg=#ffffff guifg=#005faf gui=NONE
     39     hi CursorLine ctermbg=250 ctermfg=0 cterm=NONE guibg=#bcbcbc guifg=#000000 gui=NONE
     40     hi LineNr ctermbg=250 ctermfg=0 cterm=NONE guibg=#bcbcbc guifg=#000000 gui=NONE
     41     hi CursorLineNr ctermbg=250 ctermfg=25 cterm=NONE guibg=#bcbcbc guifg=#005faf gui=NONE
     42     hi helpLeadBlank ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     43     hi helpNormal ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     44     hi Visual ctermbg=250 ctermfg=0 cterm=NONE guibg=#bcbcbc guifg=#000000 gui=NONE
     45     hi Pmenu ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     46     hi PmenuSbar ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     47     hi PmenuSel ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     48     hi PmenuThumb ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     49     hi FoldColumn ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     50     hi Folded ctermbg=250 ctermfg=15 cterm=NONE guibg=#bcbcbc guifg=#ffffff gui=NONE
     51     hi WildMenu ctermbg=250 ctermfg=0 cterm=NONE guibg=#bcbcbc guifg=#000000 gui=NONE
     52     hi SpecialKey ctermbg=15 ctermfg=100 cterm=NONE guibg=#ffffff guifg=#878700 gui=NONE
     53     hi DiffAdd ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     54     hi DiffChange ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     55     hi DiffDelete ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     56     hi DiffText ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     57     hi IncSearch ctermbg=0 ctermfg=15 cterm=NONE guibg=#000000 guifg=#ffffff gui=NONE
     58     hi Search ctermbg=186 ctermfg=0 cterm=NONE guibg=#D7D787 guifg=#000000 gui=NONE
     59     hi Directory ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     60     hi MatchParen ctermbg=250 ctermfg=15 cterm=NONE guibg=#bcbcbc guifg=#ffffff gui=NONE
     61     hi SpellBad ctermbg=88 ctermfg=15 cterm=NONE guibg=#870000 guifg=#ffffff gui=NONE
     62     hi SpellCap ctermbg=15 ctermfg=88 cterm=undercurl guibg=#ffffff guifg=#870000 gui=undercurl guisp=#870000
     63     hi SpellLocal ctermbg=15 ctermfg=100 cterm=undercurl guibg=#ffffff guifg=#878700 gui=undercurl guisp=#878700
     64     hi SpellRare ctermbg=15 ctermfg=29 cterm=undercurl guibg=#ffffff guifg=#00875f gui=undercurl guisp=#00875f
     65     hi ColorColumn ctermbg=0 ctermfg=15 cterm=NONE guibg=#000000 guifg=#ffffff gui=NONE
     66     hi SignColumn ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     67     hi ErrorMsg ctermbg=88 ctermfg=15 cterm=NONE guibg=#870000 guifg=#ffffff gui=NONE
     68     hi ModeMsg ctermbg=15 ctermfg=29 cterm=NONE guibg=#ffffff guifg=#00875f gui=NONE
     69     hi MoreMsg ctermbg=15 ctermfg=29 cterm=NONE guibg=#ffffff guifg=#00875f gui=NONE
     70     hi Question ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     71     hi Cursor ctermbg=0 ctermfg=15 cterm=NONE guibg=#000000 guifg=#ffffff gui=NONE
     72     hi CursorColumn ctermbg=100 ctermfg=15 cterm=NONE guibg=#878700 guifg=#ffffff gui=NONE
     73     hi Conceal ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     74     hi ToolbarLine ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     75     hi ToolbarButton ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     76     hi debugPC ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     77     hi debugBreakpoint ctermbg=15 ctermfg=0 cterm=NONE guibg=#ffffff guifg=#000000 gui=NONE
     78 
     79 elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16
     80     set t_Co=16
     81 
     82     hi Normal ctermbg=black ctermfg=gray cterm=NONE
     83 
     84     set background=dark
     85 
     86     hi NonText ctermbg=black ctermfg=darkblue cterm=NONE
     87     hi Comment ctermbg=black ctermfg=darkgreen cterm=NONE
     88     hi Constant ctermbg=black ctermfg=darkred cterm=NONE
     89     hi Identifier ctermbg=black ctermfg=gray cterm=NONE
     90     hi Statement ctermbg=black ctermfg=darkblue cterm=NONE
     91     hi PreProc ctermbg=black ctermfg=darkmagenta cterm=NONE
     92     hi Type ctermbg=black ctermfg=darkmagenta cterm=NONE
     93     hi Special ctermbg=black ctermfg=darkgreen cterm=NONE
     94     hi Underlined ctermbg=black ctermfg=gray cterm=undercurl
     95     hi Ignore ctermbg=black ctermfg=gray cterm=NONE
     96     hi Error ctermbg=darkred ctermfg=white cterm=NONE
     97     hi Todo ctermbg=black ctermfg=gray cterm=reverse
     98     hi StatusLine ctermbg=darkblue ctermfg=gray cterm=NONE
     99     hi StatusLineNC ctermbg=darkgray ctermfg=blue cterm=NONE
    100     hi VertSplit ctermbg=black ctermfg=gray cterm=NONE
    101     hi TabLine ctermbg=gray ctermfg=white cterm=NONE
    102     hi TabLineFill ctermbg=black ctermfg=gray cterm=NONE
    103     hi TabLineSel ctermbg=darkblue ctermfg=white cterm=NONE
    104     hi Title ctermbg=black ctermfg=darkblue cterm=NONE
    105     hi CursorLine ctermbg=gray ctermfg=black cterm=NONE
    106     hi LineNr ctermbg=black ctermfg=gray cterm=undercurl
    107     hi CursorLineNr ctermbg=gray ctermfg=darkblue cterm=NONE
    108     hi helpLeadBlank ctermbg=black ctermfg=gray cterm=NONE
    109     hi helpNormal ctermbg=black ctermfg=gray cterm=NONE
    110     hi Visual ctermbg=gray ctermfg=black cterm=NONE
    111     hi Pmenu ctermbg=black ctermfg=gray cterm=NONE
    112     hi PmenuSbar ctermbg=black ctermfg=gray cterm=NONE
    113     hi PmenuSel ctermbg=black ctermfg=gray cterm=NONE
    114     hi PmenuThumb ctermbg=black ctermfg=gray cterm=NONE
    115     hi FoldColumn ctermbg=black ctermfg=gray cterm=NONE
    116     hi Folded ctermbg=gray ctermfg=white cterm=NONE
    117     hi WildMenu ctermbg=gray ctermfg=black cterm=NONE
    118     hi SpecialKey ctermbg=black ctermfg=darkyellow cterm=NONE
    119     hi DiffAdd ctermbg=black ctermfg=gray cterm=NONE
    120     hi DiffChange ctermbg=black ctermfg=gray cterm=NONE
    121     hi DiffDelete ctermbg=black ctermfg=gray cterm=NONE
    122     hi DiffText ctermbg=black ctermfg=gray cterm=NONE
    123     hi IncSearch ctermbg=black ctermfg=white cterm=NONE
    124     hi Search ctermbg=yellow ctermfg=gray cterm=NONE
    125     hi Directory ctermbg=black ctermfg=gray cterm=NONE
    126     hi MatchParen ctermbg=gray ctermfg=white cterm=NONE
    127     hi SpellBad ctermbg=darkred ctermfg=white cterm=NONE
    128     hi SpellCap ctermbg=black ctermfg=darkred cterm=undercurl
    129     hi SpellLocal ctermbg=black ctermfg=darkyellow cterm=undercurl
    130     hi SpellRare ctermbg=black ctermfg=darkgreen cterm=undercurl
    131     hi ColorColumn ctermbg=black ctermfg=white cterm=NONE
    132     hi SignColumn ctermbg=black ctermfg=gray cterm=NONE
    133     hi ErrorMsg ctermbg=darkred ctermfg=white cterm=NONE
    134     hi ModeMsg ctermbg=black ctermfg=darkgreen cterm=NONE
    135     hi MoreMsg ctermbg=black ctermfg=darkgreen cterm=NONE
    136     hi Question ctermbg=black ctermfg=gray cterm=NONE
    137     hi Cursor ctermbg=black ctermfg=white cterm=NONE
    138     hi CursorColumn ctermbg=darkyellow ctermfg=white cterm=NONE
    139     hi Conceal ctermbg=black ctermfg=gray cterm=NONE
    140     hi ToolbarLine ctermbg=black ctermfg=gray cterm=NONE
    141     hi ToolbarButton ctermbg=black ctermfg=gray cterm=NONE
    142     hi debugPC ctermbg=black ctermfg=gray cterm=NONE
    143     hi debugBreakpoint ctermbg=black ctermfg=gray cterm=NONE
    144 endif
    145 
    146 hi link EndOfBuffer NonText
    147 hi link StatusLineTerm StatusLine
    148 hi link StatusLineTermNC StatusLineNC
    149 hi link VisualNOS Visual
    150 hi link WarningMsg Error
    151 hi link CursorIM Cursor
    152 hi link QuickFixLine CursorLine
    153 hi link Terminal Normal
    154 
    155 let g:terminal_ansi_colors = [
    156         \ '#000000',
    157         \ '#870000',
    158         \ '#00875f',
    159         \ '#878700',
    160         \ '#005faf',
    161         \ '#875faf',
    162         \ '#008080',
    163         \ '#bcbcbc',
    164         \ '#3a3a3a',
    165         \ '#d7005f',
    166         \ '#00D75F',
    167         \ '#D7D787',
    168         \ '#5fafff',
    169         \ '#d787ff',
    170         \ '#87ff87',
    171         \ '#ffffff',
    172         \ ]
    173 
    174 " Generated with RNB (https://github.com/romainl/vim-rnb)