]> git.r.bdr.sh - rbdr/dotfiles/blob - vim/colors/railscasts.vim
Updates powerline installation data
[rbdr/dotfiles] / vim / colors / railscasts.vim
1 " Vim color scheme
2 "
3 " Name: railscasts.vim
4 " Maintainer: Nick Moffitt <nick@zork.net>
5 " Last Change: 01 Mar 2008
6 " License: WTFPL <http://sam.zoy.org/wtfpl/>
7 " Version: 2.1
8 "
9 " This theme is based on Josh O'Rourke's Vim clone of the railscast
10 " textmate theme. The key thing I have done here is supply 256-color
11 " terminal equivalents for as many of the colors as possible, and fixed
12 " up some of the funny behaviors for editing e-mails and such.
13 "
14 " To use for gvim:
15 " 1: install this file as ~/.vim/colors/railscasts.vim
16 " 2: put "colorscheme railscasts" in your .gvimrc
17 "
18 " If you are using Ubuntu, you can get the benefit of this in your
19 " terminals using ordinary vim by taking the following steps:
20 "
21 " 1: sudo apt-get install ncurses-term
22 " 2: put the following in your .vimrc
23 " if $COLORTERM == 'gnome-terminal'
24 " set term=gnome-256color
25 " colorscheme railscasts
26 " else
27 " colorscheme default
28 " endif
29 " 3: if you wish to use this with screen, add the following to your .screenrc:
30 " attrcolor b ".I"
31 " termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
32 " defbce "on"
33 " term screen-256color-bce
34
35 set background=dark
36 hi clear
37 if exists("syntax_on")
38 syntax reset
39 endif
40
41 let g:colors_name = "railscasts"
42
43 hi link htmlTag xmlTag
44 hi link htmlTagName xmlTagName
45 hi link htmlEndTag xmlEndTag
46
47 highlight Normal guifg=#E6E1DC guibg=#111111
48 highlight Cursor guifg=#000000 ctermfg=0 guibg=#FFFFFF ctermbg=15
49 highlight CursorLine guibg=#000000 ctermbg=233 cterm=NONE
50
51 highlight Comment guifg=#BC9458 ctermfg=180 gui=italic
52 highlight Constant guifg=#6D9CBE ctermfg=73
53 highlight Define guifg=#CC7833 ctermfg=173
54 highlight Error guifg=#FFC66D ctermfg=221 guibg=#990000 ctermbg=88
55 highlight Function guifg=#FFC66D ctermfg=221 gui=NONE cterm=NONE
56 highlight Identifier guifg=#6D9CBE ctermfg=73 gui=NONE cterm=NONE
57 highlight Include guifg=#CC7833 ctermfg=173 gui=NONE cterm=NONE
58 highlight PreCondit guifg=#CC7833 ctermfg=173 gui=NONE cterm=NONE
59 highlight Keyword guifg=#CC7833 ctermfg=173 cterm=NONE
60 highlight LineNr guifg=#2B2B2B ctermfg=159 guibg=#C0C0FF
61 highlight Number guifg=#A5C261 ctermfg=107
62 highlight PreProc guifg=#E6E1DC ctermfg=103
63 highlight Search guifg=NONE ctermfg=NONE guibg=#2b2b2b ctermbg=235 gui=italic cterm=underline
64 highlight Statement guifg=#CC7833 ctermfg=173 gui=NONE cterm=NONE
65 highlight String guifg=#A5C261 ctermfg=107
66 highlight Title guifg=#FFFFFF ctermfg=15
67 highlight Type guifg=#DA4939 ctermfg=167 gui=NONE cterm=NONE
68 highlight Visual guibg=#5A647E ctermbg=60
69
70 highlight DiffAdd guifg=#E6E1DC ctermfg=7 guibg=#519F50 ctermbg=71
71 highlight DiffDelete guifg=#E6E1DC ctermfg=7 guibg=#660000 ctermbg=52
72 highlight Special guifg=#DA4939 ctermfg=167
73
74 highlight pythonBuiltin guifg=#6D9CBE ctermfg=73 gui=NONE cterm=NONE
75 highlight rubyBlockParameter guifg=#FFFFFF ctermfg=15
76 highlight rubyClass guifg=#FFFFFF ctermfg=15
77 highlight rubyConstant guifg=#DA4939 ctermfg=167
78 highlight rubyInstanceVariable guifg=#D0D0FF ctermfg=189
79 highlight rubyInterpolation guifg=#519F50 ctermfg=107
80 highlight rubyLocalVariableOrMethod guifg=#D0D0FF ctermfg=189
81 highlight rubyPredefinedConstant guifg=#DA4939 ctermfg=167
82 highlight rubyPseudoVariable guifg=#FFC66D ctermfg=221
83 highlight rubyStringDelimiter guifg=#A5C261 ctermfg=143
84
85 highlight xmlTag guifg=#E8BF6A ctermfg=179
86 highlight xmlTagName guifg=#E8BF6A ctermfg=179
87 highlight xmlEndTag guifg=#E8BF6A ctermfg=179
88
89 highlight mailSubject guifg=#A5C261 ctermfg=107
90 highlight mailHeaderKey guifg=#FFC66D ctermfg=221
91 highlight mailEmail guifg=#A5C261 ctermfg=107 gui=italic cterm=underline
92
93 highlight SpellBad guifg=#D70000 ctermfg=160 ctermbg=NONE cterm=underline
94 highlight SpellRare guifg=#D75F87 ctermfg=168 guibg=NONE ctermbg=NONE gui=underline cterm=underline
95 highlight SpellCap guifg=#D0D0FF ctermfg=189 guibg=NONE ctermbg=NONE gui=underline cterm=underline
96 highlight MatchParen guifg=#FFFFFF ctermfg=15 guibg=#005f5f ctermbg=23