Skip to content

Instantly share code, notes, and snippets.

@thinkerbot
Created March 8, 2012 22:39
Show Gist options
  • Save thinkerbot/2003910 to your computer and use it in GitHub Desktop.
Save thinkerbot/2003910 to your computer and use it in GitHub Desktop.
" Vim color scheme
"
" License: public domain
" Version: 0.1
" Boilerplate: {{{1
set background=light
highlight clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "classoc"
" Colors: {{{1
" TODO figure out how to not highlight TODO
"
" #000000
" #3C4C72 - BLUE/GREY - cursor, rails helpers
" #0000A2 - D.BLUE - numbers & function names
" #1E39F6 - BLUE
" #0066FF - L.BLUE - Comments, TODOs and folds
" #6E79F1 - L.PURPLE - Booleans, Ruby Constants & CSS definitions
" #318495 - BLUE/GREEN - Ruby instance/global/pseudo variables
" #007B22 - D.GREEN - Strings, Labels and code blocks in Markdown
" #00BC41 - L.GREEN - CSS common attributes & ruby interpolation
" #990000 - BURGUNDY - Errors and Warnings
" #D51015 - RED for constants, symbols, numbers
" #E18AC7 - PINK RegularExpressions in Ruby
" #FFCE77 - ORANGE - Incremental Search
" #FFE6BB - L.ORANGE - Search
" #C6DEFF - VL.BLUE Visual, Current StatusLine & AutoComplete selection
" #808080 - Line numbers
" #CFCFCF - VerticalSplit separator
" #DFDFDF - Invisible Characters
" #EFEFEF - LineNumber & Non-Current StatusLine
" #F0F6FF - CursorLine & CursorColumn
" #FFFFFF - WHITE
" }}}
" GUI: {{{1
hi Cursor ctermfg=15 ctermbg=240
hi Visual ctermbg=189
hi CursorLine ctermbg=15
hi CursorColumn ctermbg=15
hi LineNr ctermfg=244 ctermbg=7
hi VertSplit ctermfg=15 ctermbg=252 cterm=NONE
hi MatchParen ctermfg=27 cterm=bold
hi Pmenu ctermbg=7
hi PmenuSel ctermbg=189
hi Directory ctermfg=160 cterm=bold
hi Folded ctermfg=27 ctermbg=15
" SpecialKey xxx term=bold ctermfg=4 guifg=Blue
" NonText xxx term=bold cterm=bold ctermfg=4 gui=bold guifg=Blue
" Directory xxx term=bold cterm=bold ctermfg=160 guifg=Blue
" ErrorMsg xxx term=standout ctermfg=5 ctermbg=88 guifg=White guibg=Red
" IncSearch xxx term=reverse cterm=reverse ctermbg=7 gui=reverse
" Search xxx term=reverse ctermfg=0 ctermbg=7 guibg=Yellow
" MoreMsg xxx term=bold ctermfg=2 gui=bold guifg=SeaGreen
" ModeMsg xxx term=bold cterm=bold gui=bold
" LineNr xxx term=underline ctermfg=244 ctermbg=7 guifg=Brown
" Question xxx term=standout ctermfg=2 gui=bold guifg=SeaGreen
" StatusLine xxx term=bold,reverse cterm=italic ctermfg=0 ctermbg=189 gui=bold,reverse
" StatusLineNC xxx term=reverse ctermfg=0 ctermbg=7 gui=reverse
" VertSplit xxx term=reverse ctermfg=15 ctermbg=252 gui=reverse
" Title xxx term=bold ctermfg=0 gui=bold guifg=Magenta
" Visual xxx term=reverse cterm=reverse ctermbg=189 guibg=LightGrey
" VisualNOS xxx term=bold,underline cterm=bold,underline gui=bold,underline
" WarningMsg xxx term=standout ctermfg=15 ctermbg=88 guifg=Red
" WildMenu xxx term=standout ctermfg=0 ctermbg=3 guifg=Black guibg=Yellow
" Folded xxx term=standout ctermfg=27 ctermbg=15 guifg=DarkBlue guibg=LightGrey
" FoldColumn xxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue guibg=Grey
" DiffAdd xxx term=bold ctermbg=4 guibg=LightBlue
" DiffChange xxx term=bold ctermbg=5 guibg=LightMagenta
" DiffDelete xxx term=bold cterm=bold ctermfg=4 ctermbg=6 gui=bold guifg=Blue guibg=LightCyan
" DiffText xxx term=reverse cterm=bold ctermbg=1 gui=bold guibg=Red
" SignColumn xxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue guibg=Grey
" Conceal xxx ctermfg=7 ctermbg=0 guifg=LightGrey guibg=DarkGrey
" SpellBad xxx term=reverse ctermbg=1 gui=undercurl guisp=Red
" SpellCap xxx term=reverse ctermbg=4 gui=undercurl guisp=Blue
" SpellRare xxx term=reverse ctermbg=5 gui=undercurl guisp=Magenta
" SpellLocal xxx term=underline ctermbg=6 gui=undercurl guisp=DarkCyan
" Pmenu xxx ctermbg=7 guibg=LightMagenta
" PmenuSel xxx ctermbg=189 guibg=Grey
" PmenuSbar xxx ctermbg=7 guibg=Grey
" PmenuThumb xxx cterm=reverse gui=reverse
" TabLine xxx term=underline cterm=underline ctermfg=0 ctermbg=7 gui=underline guibg=LightGrey
" TabLineSel xxx term=bold cterm=bold gui=bold
" TabLineFill xxx term=reverse cterm=reverse gui=reverse
" CursorColumn xxx term=reverse ctermbg=15 guibg=Grey90
" CursorLine xxx term=underline cterm=underline ctermbg=15 guibg=Grey90
" ColorColumn xxx term=reverse ctermbg=1 guibg=LightRed
" MatchParen xxx term=reverse cterm=bold ctermfg=27 ctermbg=6 guibg=Cyan
" Comment xxx term=bold ctermfg=8 guifg=Blue
" Constant xxx term=underline cterm=bold ctermfg=1 guifg=Magenta
" Special xxx term=bold ctermfg=0 guifg=SlateBlue
" Identifier xxx term=underline ctermfg=5 guifg=DarkCyan
" Statement xxx term=bold cterm=bold ctermfg=0 gui=bold guifg=Brown
" PreProc xxx term=underline ctermfg=27 guifg=Purple
" Type xxx term=underline ctermfg=2 gui=bold guifg=SeaGreen
" Underlined xxx term=underline cterm=underline ctermfg=5 gui=underline guifg=SlateBlue
" Ignore xxx cterm=bold ctermfg=7 guifg=bg
" Error xxx term=reverse cterm=bold ctermfg=7 ctermbg=1 guifg=White guibg=Red
" Todo xxx term=standout ctermfg=2 ctermbg=3 guifg=Blue guibg=Yellow
" String xxx ctermfg=1
" Character xxx ctermfg=160
" Number xxx ctermfg=4
" Boolean xxx cterm=bold ctermfg=4
" Float xxx ctermfg=4
" Function xxx cterm=bold ctermfg=8
" Conditional xxx cterm=bold ctermfg=4
" Repeat xxx links to Statement
" Label xxx ctermfg=2
" Operator xxx ctermfg=27
" Keyword xxx cterm=bold ctermfg=0
" Exception xxx links to Statement
" Include xxx links to PreProc
" Define xxx cterm=bold ctermfg=0
" Macro xxx links to PreProc
" PreCondit xxx links to PreProc
" StorageClass xxx ctermfg=27
" Structure xxx links to Type
" Typedef xxx links to Type
" Tag xxx links to Special
" SpecialChar xxx links to Special
" Delimiter xxx links to Special
" SpecialComment xxx links to Special
" Debug xxx links to Special
" Cursor xxx ctermfg=15 ctermbg=240
" Normal xxx ctermfg=0 ctermbg=15
" helpHeadline xxx links to Statement
" helpSectionDelim xxx links to PreProc
" helpIgnore xxx links to Ignore
" helpExample xxx links to Comment
" helpBar xxx links to Ignore
" helpStar xxx links to Ignore
" helpHyperTextJump xxx links to Subtitle
" helpHyperTextEntry xxx links to String
" helpNormal xxx cleared
" helpVim xxx links to Identifier
" helpOption xxx links to Type
" helpHeader xxx links to PreProc
" helpGraphic xxx cleared
" helpNote xxx links to Todo
" helpSpecial xxx links to Special
" helpLeadBlank xxx cleared
" helpNotVi xxx links to Special
" helpComment xxx links to Comment
" helpConstant xxx links to Constant
" helpExample xxx links to Comment
" helpBar xxx links to Ignore
" helpStar xxx links to Ignore
" helpHyperTextJump xxx links to Subtitle
" helpHyperTextEntry xxx links to String
" helpNormal xxx cleared
" helpVim xxx links to Identifier
" helpOption xxx links to Type
" helpHeader xxx links to PreProc
" helpGraphic xxx cleared
" helpNote xxx links to Todo
" helpSpecial xxx links to Special
" helpLeadBlank xxx cleared
" helpNotVi xxx links to Special
" helpComment xxx links to Comment
" helpConstant xxx links to Constant
" helpString xxx links to String
" helpCharacter xxx links to Character
" helpNumber xxx links to Number
" helpBoolean xxx links to Boolean
" helpFloat xxx links to Float
" helpIdentifier xxx links to Identifier
" helpFunction xxx links to Function
" helpStatement xxx links to Statement
" helpConditional xxx links to Conditional
" helpRepeat xxx links to Repeat
" helpLabel xxx links to Label
" helpOperator xxx links to Operator
" helpKeyword xxx links to Keyword
" helpException xxx links to Exception
" helpPreProc xxx links to PreProc
" helpInclude xxx links to Include
" helpDefine xxx links to Define
" helpMacro xxx links to Macro
" helpPreCondit xxx links to PreCondit
" helpType xxx links to Type
" helpStorageClass xxx links to StorageClass
" helpStructure xxx links to Structure
" helpTypedef xxx links to Typedef
" helpSpecialChar xxx links to SpecialChar
" helpTag xxx links to Tag
" helpDelimiter xxx links to Delimiter
" helpSpecialComment xxx links to SpecialComment
" helpDebug xxx links to Debug
" helpUnderlined xxx links to Underlined
" helpError xxx links to Error
" helpTodo xxx links to Todo
" helpURL xxx links to String
" Subtitle xxx links to Identifier
" StatusLine: {{{2
hi StatusLine ctermfg=0 ctermbg=189 cterm=italic
hi StatusLineNC ctermfg=0 ctermbg=7 cterm=NONE
""*VT100*color0: black
""*VT100*color1: red3
""*VT100*color2: green3
""*VT100*color3: yellow3
""*VT100*color4: blue2
""*VT100*color5: magenta3
""*VT100*color6: cyan3
""*VT100*color7: gray90
""*VT100*color8: gray50
""*VT100*color9: red
" Search: {{{2
" [IncSearch is stronger than Search]
hi IncSearch ctermbg=7
hi Search ctermbg=7
" Syntax: {{{1
hi Normal ctermfg=0 ctermbg=15
hi Boolean ctermfg=4 cterm=bold
hi Character ctermfg=160
" # comment
hi Comment ctermfg=8
" if then else
hi Conditional ctermfg=4 cterm=bold
" :symbol
hi Constant ctermfg=1 cterm=bold
" def
hi Define ctermfg=0 cterm=bold
hi ErrorMsg ctermfg=5 ctermbg=88
hi WarningMsg ctermfg=15 ctermbg=88
" 1.23
hi Float ctermfg=4
" abc()
hi Function ctermfg=8 cterm=bold
" @var
hi Identifier ctermfg=5
" super, lambda
hi Keyword ctermfg=0 cterm=bold
hi Label ctermfg=2
" 123
hi Number ctermfg=4
hi Operator ctermfg=27
hi PreProc ctermfg=27
hi Special ctermfg=0
" do end
hi Statement ctermfg=0 cterm=bold
hi StorageClass ctermfg=27
" 'string'
hi String ctermfg=1
hi Title ctermfg=0
hi Todo ctermfg=2
hi Underlined cterm=underline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment