Skip to content

Instantly share code, notes, and snippets.

@linjan2
Created September 26, 2021 10:35
Show Gist options
  • Save linjan2/67edce9df417bead0c9cda47df014098 to your computer and use it in GitHub Desktop.
Save linjan2/67edce9df417bead0c9cda47df014098 to your computer and use it in GitHub Desktop.
Example ~/.vim/colors/simple.vim
" Example vim color scheme.
" USAGE: copy to ~/.vim/colors/simple.vim and then use `colorscheme simple`
" Uses terminal colors 0-15. GUI-colors added for syntax example.
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "simple"
" http://vimdoc.sourceforge.net/htmldoc/syntax.html#:highlight
" [ color terminal fg, bg, attributes ] [ gvim ]
hi Normal ctermfg=15 ctermbg=0 cterm=NONE guifg=#000000 guibg=#ffffff gui=NONE
hi Boolean ctermfg=8 ctermbg=NONE cterm=NONE guifg=#ff0000 guibg=NONE gui=NONE
hi Character ctermfg=2 ctermbg=NONE cterm=NONE guifg=#2323ce guibg=NONE gui=NONE
hi Comment ctermfg=7 ctermbg=NONE cterm=NONE guifg=#666666 guibg=NONE gui=NONE
hi Conditional ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=bold
hi Constant ctermfg=2 ctermbg=NONE cterm=NONE guifg=#2323ce guibg=NONE gui=NONE
hi CursorColumn ctermfg=2 ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi CursorLine ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi CursorLineNr ctermfg=2 ctermbg=NONE cterm=NONE guifg=#2323ce guibg=NONE gui=NONE
hi ColorColumn ctermfg=2 ctermbg=NONE cterm=NONE guifg=NONE guibg=#dddddd gui=NONE
hi Debug ctermfg=2 ctermbg=NONE cterm=NONE guifg=#2323ce guibg=NONE gui=NONE
hi Define ctermfg=2 ctermbg=NONE cterm=NONE guifg=#2323ce guibg=NONE gui=NONE
hi Delimiter ctermfg=8 ctermbg=NONE cterm=NONE guifg=#666666 guibg=NONE gui=NONE
hi DiffAdd ctermfg=10 ctermbg=NONE cterm=NONE guifg=#00ff00 guibg=NONE gui=NONE
hi DiffChange ctermfg=12 ctermbg=NONE cterm=NONE guifg=#0000ff guibg=NONE gui=NONE
hi DiffDelete ctermfg=9 ctermbg=NONE cterm=NONE guifg=#ff0000 guibg=NONE gui=NONE
hi DiffText ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi Directory ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=bold
hi Error ctermfg=1 ctermbg=NONE cterm=NONE guifg=#ff0000 guibg=NONE gui=NONE
hi ErrorMsg ctermfg=1 ctermbg=NONE cterm=NONE guifg=#ff0000 guibg=NONE gui=NONE
hi Exception ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=italic
hi Float ctermfg=2 ctermbg=NONE cterm=NONE guifg=#2323ce guibg=NONE gui=NONE
hi Folded ctermfg=NONE ctermbg=8 cterm=bold guifg=NONE guibg=#cccccc gui=NONE
hi Function ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=bold
hi HighlightedyankRegion ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=italic
hi htmltagname ctermfg=8 ctermbg=NONE cterm=NONE guifg=#666666 guibg=NONE gui=NONE
hi Identifier ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=bold
hi IncSearch ctermfg=NONE ctermbg=NONE cterm=inverse,bold guifg=NONE guibg=NONE gui=inverse,italic
hi Include ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=bold
hi Keyword ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=bold
hi Label ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=bold
hi LineNr ctermfg=8 ctermbg=NONE cterm=NONE guifg=#666666 guibg=NONE gui=NONE
hi Macro ctermfg=2 ctermbg=NONE cterm=NONE guifg=#2323ce guibg=NONE gui=NONE
hi MatchParen ctermfg=2 ctermbg=NONE cterm=NONE guifg=#2323ce guibg=NONE gui=bold
hi ModeMsg ctermfg=8 ctermbg=NONE cterm=NONE guifg=#666666 guibg=NONE gui=NONE
hi NonText ctermfg=8 ctermbg=NONE cterm=NONE guifg=#666666 guibg=NONE gui=NONE
hi Number ctermfg=2 ctermbg=NONE cterm=NONE guifg=#2323ce guibg=NONE gui=NONE
hi Operator ctermfg=8 ctermbg=NONE cterm=NONE guifg=#666666 guibg=NONE gui=NONE
hi PMenu ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi PMenuSbar ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi PMenuSel ctermfg=2 ctermbg=NONE cterm=NONE guifg=#2323ce guibg=NONE gui=NONE
hi PMenuThumb ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi PreCondit ctermfg=6 ctermbg=NONE cterm=NONE guifg=#16b723 guibg=NONE gui=NONE
hi PreProc ctermfg=5 ctermbg=NONE cterm=NONE guifg=#333333 guibg=NONE gui=NONE
hi pythonescape ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi Repeat ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=bold
hi Search ctermfg=NONE ctermbg=NONE cterm=inverse guifg=NONE guibg=NONE gui=inverse
hi SignColumn ctermfg=NONE ctermbg=NONE cterm=inverse guifg=NONE guibg=NONE gui=inverse
hi Special ctermfg=2 ctermbg=NONE cterm=bold guifg=#2323ce guibg=NONE gui=bold
hi SpecialChar ctermfg=2 ctermbg=NONE cterm=bold guifg=#2323ce guibg=NONE gui=bold
hi SpecialComment ctermfg=2 ctermbg=NONE cterm=bold guifg=#2323ce guibg=NONE gui=bold
hi SpecialKey ctermfg=8 ctermbg=NONE cterm=bold guifg=#666666 guibg=NONE gui=bold
hi Statement ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi StatusLine ctermfg=NONE ctermbg=NONE cterm=NONE guifg=#666666 guibg=NONE gui=NONE
hi StatusLineNC ctermfg=8 ctermbg=NONE cterm=NONE guifg=#333333 guibg=NONE gui=NONE
hi StorageClass ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=bold
hi String ctermfg=2 ctermbg=NONE cterm=NONE guifg=#2323ce guibg=NONE gui=NONE
hi Structure ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=bold
hi TabLine ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi TabLineFill ctermfg=NONE ctermbg=8 cterm=NONE guifg=NONE guibg=#666666 gui=NONE
hi TabLineSel ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=bold
hi Tag ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=underline
hi Title ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=NONE
hi Todo ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=bold
hi Type ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=bold
hi Typedef ctermfg=NONE ctermbg=NONE cterm=bold guifg=NONE guibg=NONE gui=bold
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline
hi VertSplit ctermfg=NONE ctermbg=NONE cterm=NONE guifg=#333333 guibg=NONE gui=NONE
hi Visual ctermfg=NONE ctermbg=NONE cterm=inverse guifg=NONE guibg=NONE gui=inverse
hi WildMenu ctermfg=2 ctermbg=NONE cterm=NONE guifg=#2323ce guibg=NONE gui=NONE
"hi CTagsClass -- no settings --
"hi CTagsGlobalConstant -- no settings --
"hi CTagsGlobalVariable -- no settings --
"hi CTagsImport -- no settings --
"hi CTagsMember -- no settings --
"hi DefinedName -- no settings --
"hi EnumerationName -- no settings --
"hi EnumerationValue -- no settings --
"hi FoldColumn -- no settings --
"hi Ignore -- no settings --
"hi LocalVariable -- no settings --
"hi ModeMsg -- no settings --
"hi MoreMsg -- no settings --
"hi Question -- no settings --
"hi SpellBad -- no settings --
"hi SpellCap -- no settings --
"hi SpellLocal -- no settings --
"hi SpellRare -- no settings --
"hi StatusLine -- no settings --
"hi StatusLineNC -- no settings --
"hi Union -- no settings --
"hi VisualNOS -- no settings --
"hi WarningMsg -- no settings --
"hi clear -- no settings --
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment