Skip to content

Instantly share code, notes, and snippets.

@craigp
Created November 21, 2011 10:18
Show Gist options
  • Save craigp/1382230 to your computer and use it in GitHub Desktop.
Save craigp/1382230 to your computer and use it in GitHub Desktop.
" Vim color scheme
"
" My version of the Railscast VIM color scheme originally by:
"
" Name: railscast.vim
" Original Maintainer: Josh O'Rourke <[email protected]>
" License: public domain
"
" A GUI Only port of the RailsCasts TextMate theme [1] to Vim.
" Some parts of this theme were borrowed from the well-documented Lucius theme [2].
"
" [1] http://railscasts.com/about
" [2] http://www.vim.org/scripts/script.php?script_id=2536
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "railscasts"
" Colors
" Brown #BC9458
" Dark Blue #6D9CBE
" Dark Green #519F50
" Dark Orange #CC7833
" Light Blue #D0D0FF
" Light Green #A5C261
" Tan #FFC66D
hi Normal guifg=#E6E1DC guibg=#232323
hi Cursor guibg=#FFFFFF
hi CursorLine guibg=#333435
hi LineNr guifg=#808080
hi Search guibg=#5A647E
hi Visual guibg=#5A647E
" Folds
" -----
" line used for closed folds
hi Folded guifg=#F6F3E8 guibg=#444444 gui=NONE
" Misc
" ----
" directory names and other special names in listings
hi Directory guifg=#A5C261 gui=NONE
" Popup Menu
" ----------
" normal item in popup
hi Pmenu guifg=#F6F3E8 guibg=#444444 gui=NONE
" selected item in popup
hi PmenuSel guifg=#000000 guibg=#A5C261 gui=NONE
" scrollbar in popup
hi PMenuSbar guibg=#5A647E gui=NONE
" thumb of the scrollbar in the popup
hi PMenuThumb guibg=#AAAAAA gui=NONE
"rubyComment
hi Comment guifg=#808080 gui=italic
hi Todo guifg=#BC9458 guibg=NONE gui=italic
"rubyPseudoVariable
"nil, self, symbols, etc
hi Constant guifg=#6D9CBE
"rubyClass, rubyModule, rubyDefine
"def, end, include, etc
hi Define guifg=#CC7833
"rubyInterpolation
hi Delimiter guifg=#519F50
"rubyError, rubyInvalidVariable
hi Error guifg=#FFFFFF guibg=#990000
"rubyFunction
hi Function guifg=#FFC66D gui=NONE
"rubyIdentifier
"@var, @@var, $var, etc
hi Identifier guifg=#D0D0FF gui=NONE
"rubyInclude
"include, autoload, extend, load, require
hi Include guifg=#CC7833 gui=NONE
"rubyKeyword, rubyKeywordAsMethod
"alias, undef, super, yield, callcc, caller, lambda, proc
hi Keyword guifg=#CC7833
" same as define
hi Macro guifg=#CC7833 gui=NONE
"rubyInteger
hi Number guifg=#A5C261
" #if, #else, #endif
hi PreCondit guifg=#CC7833 gui=NONE
" generic preprocessor
hi PreProc guifg=#CC7833 gui=NONE
"rubyControl, rubyAccess, rubyEval
"case, begin, do, for, if unless, while, until else, etc.
hi Statement guifg=#CC7833 gui=NONE
"rubyString
hi String guifg=#A5C261
hi Title guifg=#FFFFFF
"rubyConstant
hi Type guifg=#DA4939 gui=NONE
hi DiffAdd guifg=#E6E1DC guibg=#144212
hi DiffDelete guifg=#E6E1DC guibg=#660000
hi link htmlTag xmlTag
hi link htmlTagName xmlTagName
hi link htmlEndTag xmlEndTag
hi xmlTag guifg=#E8BF6A
hi xmlTagName guifg=#E8BF6A
hi xmlEndTag guifg=#E8BF6A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment