Skip to content
Browse files

colorschemes

  • Loading branch information...
1 parent c04ee59 commit 2c5f906ddb87d64b294e0568ecb2664221407c77 @SKoschnicke committed Nov 21, 2012
Showing with 321 additions and 2 deletions.
  1. +139 −0 vim/colors/github.vim
  2. +177 −0 vim/colors/nu42dark.vim
  3. +5 −2 vimrc
View
139 vim/colors/github.vim
@@ -0,0 +1,139 @@
+" Vim color file
+"
+" Author: Anthony Carapetis <anthony.carapetis@gmail.com>
+"
+" Note: Based on github's syntax highlighting theme
+" Used Brian Mock's darkspectrum as a starting point/template
+" Thanks to Ryan Heath for an easy list of some of the colours:
+" http://rpheath.com/posts/356-github-theme-for-syntax-gem
+
+hi clear
+
+set background=light
+if version > 580
+ " no guarantees for version 5.8 and below, but this makes it stop
+ " complaining
+ hi clear
+ if exists("syntax_on")
+ syntax reset
+ endif
+endif
+let g:colors_name="github"
+
+hi Normal guifg=#000000 guibg=#F8F8FF
+
+" {{{ Cursor
+hi Cursor guibg=#444454 guifg=#F8F8FF
+hi CursorLine guibg=#D8D8DD
+hi CursorColumn guibg=#E8E8EE
+" }}}
+
+" {{{ Diff
+hi DiffAdd guifg=#003300 guibg=#DDFFDD gui=none
+hi DiffChange guibg=#ececec gui=none
+hi DiffText guifg=#000033 guibg=#DDDDFF gui=none
+hi DiffDelete guifg=#DDCCCC guibg=#FFDDDD gui=none
+" }}}
+
+" {{{ Folding / Line Numbering / Status Lines
+hi Folded guibg=#ECECEC guifg=#808080 gui=bold
+hi vimFold guibg=#ECECEC guifg=#808080 gui=bold
+hi FoldColumn guibg=#ECECEC guifg=#808080 gui=bold
+
+hi LineNr guifg=#959595 guibg=#ECECEC gui=bold
+hi NonText guifg=#808080 guibg=#ECECEC
+hi Folded guifg=#808080 guibg=#ECECEC gui=bold
+hi FoldeColumn guifg=#808080 guibg=#ECECEC gui=bold
+
+hi VertSplit guibg=#bbbbbb guifg=#bbbbbb gui=none
+hi StatusLine guibg=#bbbbbb guifg=#404040 gui=bold
+hi StatusLineNC guibg=#d4d4d4 guifg=#404040 gui=italic
+" }}}
+
+" {{{ Misc
+hi ModeMsg guifg=#990000
+hi MoreMsg guifg=#990000
+
+hi Title guifg=#ef5939
+hi WarningMsg guifg=#ef5939
+hi SpecialKey guifg=#177F80 gui=italic
+
+hi MatchParen guibg=#cdcdfd guifg=#000000
+hi Underlined guifg=#000000 gui=underline
+hi Directory guifg=#990000
+" }}}
+
+" {{{ Search, Visual, etc
+hi Visual guifg=#FFFFFF guibg=#3465a4 gui=none
+hi VisualNOS guifg=#FFFFFF guibg=#204a87 gui=none
+hi IncSearch guibg=#cdcdfd guifg=#000000 gui=italic
+hi Search guibg=#cdcdfd guifg=#000000 gui=italic
+" }}}
+
+" {{{ Syntax groups
+hi Ignore guifg=#808080
+hi Identifier guifg=#0086B3
+hi PreProc guifg=#A0A0A0 gui=bold
+hi Comment guifg=#999988
+hi Constant guifg=#177F80 gui=none
+hi String guifg=#D81745
+hi Function guifg=#990000 gui=bold
+hi Statement guifg=#000000 gui=bold
+hi Type guifg=#445588 gui=bold
+hi Number guifg=#1C9898
+hi Todo guifg=#FFFFFF guibg=#990000 gui=bold
+hi Special guifg=#159828 gui=bold
+hi rubySymbol guifg=#960B73
+hi Error guibg=#f8f8ff guifg=#ff1100 gui=undercurl
+hi Todo guibg=#f8f8ff guifg=#ff1100 gui=underline
+hi Label guifg=#000000 gui=bold
+hi StorageClass guifg=#000000 gui=bold
+hi Structure guifg=#000000 gui=bold
+hi TypeDef guifg=#000000 gui=bold
+" }}}
+
+" {{{ Completion menus
+hi WildMenu guifg=#7fbdff guibg=#425c78 gui=none
+
+hi Pmenu guibg=#808080 guifg=#ffffff gui=bold
+hi PmenuSel guibg=#cdcdfd guifg=#000000 gui=italic
+hi PmenuSbar guibg=#000000 guifg=#444444
+hi PmenuThumb guibg=#aaaaaa guifg=#aaaaaa
+" }}}
+
+" {{{ Spelling
+hi spellBad guisp=#fcaf3e
+hi spellCap guisp=#73d216
+hi spellRare guisp=#fcaf3e
+hi spellLocal guisp=#729fcf
+" }}}
+
+" {{{ Aliases
+hi link cppSTL Function
+hi link cppSTLType Type
+hi link Character Number
+hi link htmlTag htmlEndTag
+"hi link htmlTagName htmlTag
+hi link htmlLink Underlined
+hi link pythonFunction Identifier
+hi link Question Type
+hi link CursorIM Cursor
+hi link VisualNOS Visual
+hi link xmlTag Identifier
+hi link xmlTagName Identifier
+hi link shDeref Identifier
+hi link shVariable Function
+hi link rubySharpBang Special
+hi link perlSharpBang Special
+hi link schemeFunc Statement
+"hi link shSpecialVariables Constant
+"hi link bashSpecialVariables Constant
+" }}}
+
+" {{{ Tabs (non-gui0
+hi TabLine guifg=#404040 guibg=#dddddd gui=none
+hi TabLineFill guifg=#404040 guibg=#dddddd gui=none
+hi TabLineSel guifg=#404040 gui=bold
+" }}}
+"
+" vim: sw=4 ts=4 foldmethod=marker
View
177 vim/colors/nu42dark.vim
@@ -0,0 +1,177 @@
+" Vim color file -- nu42dark.vim
+" Modified from CandyCode
+" Maintainer: A. Sinan Unur <sinan@unur.com>
+" Last Change: 20111125
+
+set background=dark
+highlight clear
+let g:colors_name="nu42dark"
+
+let save_cpo = &cpo
+set cpo&vim
+
+hi Normal guifg=#f7f7f7 guibg=#0f0a1f gui=NONE
+ \ ctermfg=white ctermbg=black cterm=NONE
+
+hi Folded guifg=#bfaf9f guibg=NONE gui=NONE
+ \ ctermfg=lightgray ctermbg=black cterm=NONE
+
+hi LineNr guifg=#8fbfaf guibg=NONE gui=NONE
+ \ ctermfg=darkgray ctermbg=NONE cterm=NONE
+
+hi Directory guifg=#3884da guibg=NONE gui=NONE
+ \ ctermfg=cyan ctermbg=NONE cterm=NONE
+
+hi NonText guifg=#ffeda1 guibg=NONE gui=bold
+ \ ctermfg=yellow ctermbg=NONE cterm=NONE
+
+hi SpecialKey guifg=#38da84 guibg=NONE gui=NONE
+ \ ctermfg=green ctermbg=NONE cterm=NONE
+
+hi SpellBad guifg=NONE guibg=NONE gui=undercurl
+ \ ctermfg=white ctermbg=darkred guisp=#ff0011
+
+hi SpellCap guifg=NONE guibg=NONE gui=undercurl
+ \ ctermfg=white ctermbg=darkblue guisp=#0044ff
+
+hi SpellLocal guifg=NONE guibg=NONE gui=undercurl
+ \ ctermfg=black ctermbg=cyan guisp=#00dd99
+
+hi SpellRare guifg=NONE guibg=NONE gui=undercurl
+ \ ctermfg=white ctermbg=darkmagenta guisp=#ff22ee
+
+hi DiffAdd guifg=#ffffff guibg=#126493 gui=NONE
+ \ ctermfg=white ctermbg=darkblue cterm=NONE
+
+hi DiffChange guifg=#000000 guibg=#976398 gui=NONE
+ \ ctermfg=black ctermbg=darkmagenta cterm=NONE
+
+hi DiffDelete guifg=#000000 guibg=#be1923 gui=bold
+ \ ctermfg=black ctermbg=red cterm=bold
+
+hi DiffText guifg=#ffffff guibg=#976398 gui=bold
+ \ ctermfg=white ctermbg=green cterm=bold
+
+hi FoldColumn guifg=#c8bcb9 guibg=#786d65 gui=bold
+ \ ctermfg=lightgray ctermbg=darkgray cterm=NONE
+
+hi SignColumn guifg=#c8bcb9 guibg=#786d65 gui=bold
+ \ ctermfg=lightgray ctermbg=darkgray cterm=NONE
+
+hi Pmenu guifg=#000000 guibg=#a6a190 gui=NONE
+ \ ctermfg=white ctermbg=darkgray cterm=NONE
+
+hi PmenuSel guifg=#ffffff guibg=#133293 gui=NONE
+ \ ctermfg=white ctermbg=lightblue cterm=NONE
+
+hi PmenuSbar guifg=NONE guibg=#555555 gui=NONE
+ \ ctermfg=black ctermbg=black cterm=NONE
+
+hi PmenuThumb guifg=NONE guibg=#cccccc gui=NONE
+ \ ctermfg=gray ctermbg=gray cterm=NONE
+
+hi StatusLine guifg=#0f0f1f guibg=#7f9faf gui=bold
+ \ ctermfg=black ctermbg=white cterm=bold
+
+hi StatusLineNC guifg=#3f3f48 guibg=#ccbbbf gui=NONE
+ \ ctermfg=darkgray ctermbg=white cterm=NONE
+
+hi WildMenu guifg=#ffffff guibg=#1f3f9f gui=bold
+ \ ctermfg=white ctermbg=darkblue cterm=bold
+
+hi VertSplit guifg=#99acbd guibg=#99acbd gui=NONE
+ \ ctermfg=white ctermbg=white cterm=NONE
+
+hi TabLine guifg=#000000 guibg=#c2bfa5 gui=NONE
+ \ ctermfg=black ctermbg=white cterm=NONE
+
+hi TabLineFill guifg=#000000 guibg=#c2bfa5 gui=NONE
+ \ ctermfg=black ctermbg=white cterm=NONE
+
+hi TabLineSel guifg=#ffffff guibg=#133293 gui=NONE
+ \ ctermfg=white ctermbg=black cterm=NONE
+
+hi Cursor guifg=#f0f080 guibg=#3f3fef gui=bold,underline
+ \ ctermfg=black ctermbg=white cterm=NONE
+
+hi CursorIM guifg=#f0f080 guibg=#3f3fef gui=bold,underline
+ \ ctermfg=black ctermbg=white cterm=reverse
+
+hi CursorLine guifg=NONE guibg=#1f1a2f gui=NONE
+ \ ctermfg=NONE ctermbg=NONE cterm=NONE
+
+hi CursorColumn guifg=NONE guibg=#1f1a2f gui=NONE
+ \ ctermfg=NONE ctermbg=NONE cterm=NONE
+
+hi Visual guifg=#ffffff guibg=#2f6f4f gui=NONE
+ \ ctermfg=white ctermbg=lightgreen cterm=NONE
+
+hi VisualNOS guifg=#ffffff guibg=#1f3f2f gui=NONE
+ \ ctermfg=white ctermbg=green cterm=NONE
+
+hi IncSearch guifg=#000000 guibg=#efdf3f gui=bold
+ \ ctermfg=white ctermbg=yellow cterm=NONE
+
+hi Search guifg=#efefd0 guibg=#5f9f4f gui=NONE
+ \ ctermfg=white ctermbg=darkgreen cterm=NONE
+
+hi MatchParen guifg=NONE guibg=#3377aa gui=NONE
+ \ ctermfg=white ctermbg=blue cterm=NONE
+
+hi ModeMsg guifg=#f09050 guibg=NONE gui=NONE
+ \ ctermfg=yellow ctermbg=NONE cterm=NONE
+
+hi Title guifg=#dd4452 guibg=NONE gui=bold
+ \ ctermfg=red ctermbg=NONE cterm=bold
+
+hi Question guifg=#66d077 guibg=NONE gui=NONE
+ \ ctermfg=green ctermbg=NONE cterm=NONE
+
+hi MoreMsg guifg=#39d049 guibg=NONE gui=NONE
+ \ ctermfg=green ctermbg=NONE cterm=NONE
+
+hi ErrorMsg guifg=#ffffff guibg=#ff0000 gui=bold
+ \ ctermfg=white ctermbg=red cterm=bold
+
+hi WarningMsg guifg=#ccae22 guibg=NONE gui=bold
+ \ ctermfg=yellow ctermbg=NONE cterm=bold
+
+hi Comment guifg=#8fcfaf guibg=NONE gui=italic
+ \ ctermfg=brown ctermbg=NONE cterm=NONE
+
+hi Constant guifg=#ef7f6f guibg=NONE gui=NONE
+ \ ctermfg=red ctermbg=NONE cterm=NONE
+
+hi Boolean guifg=#ef4fff guibg=NONE gui=bold
+ \ ctermfg=red ctermbg=NONE cterm=bold
+
+hi Identifier guifg=#dfdf6f guibg=NONE gui=NONE
+ \ ctermfg=yellow ctermbg=NONE cterm=NONE
+
+hi Statement guifg=#6fef7f guibg=NONE gui=bold
+ \ ctermfg=green ctermbg=NONE cterm=bold
+
+hi PreProc guifg=#afafaf guibg=NONE gui=NONE
+ \ ctermfg=darkgreen ctermbg=NONE cterm=NONE
+
+hi Type guifg=#9f9fef guibg=NONE gui=bold
+ \ ctermfg=lightblue ctermbg=NONE cterm=bold
+
+hi Special guifg=#9f9faf guibg=NONE gui=bold
+ \ ctermfg=lightgray ctermbg=NONE cterm=bold
+
+hi Underlined guifg=#8fafff guibg=NONE gui=underline
+ \ ctermfg=NONE ctermbg=NONE cterm=underline
+ \ term=underline
+
+hi Ignore guifg=#8f8f8f guibg=NONE gui=NONE
+ \ ctermfg=darkgray ctermbg=NONE cterm=NONE
+
+hi Error guifg=#ffffff guibg=#ff0000 gui=NONE
+ \ ctermfg=white ctermbg=red cterm=NONE
+
+hi Todo guifg=#ffffff guibg=#ee7700 gui=bold
+ \ ctermfg=black ctermbg=yellow cterm=bold
+
+let &cpo = save_cpo
+
View
7 vimrc
@@ -1,7 +1,10 @@
-let moria_style = 'white'
-colorscheme moria
+"let moria_style = 'white'
+"colorscheme moria
"set background=dark " because of strange xresources, this means actually light
"colorscheme solarized
+colorscheme github
+
+set t_Co=256 " explicitly tell vim that its a terminal supporting 256 colors
syntax on " Enable syntax highlighting
filetype on " Enable filetype detection
filetype indent on " Enable filetype-specific indenting

0 comments on commit 2c5f906

Please sign in to comment.
Something went wrong with that request. Please try again.