Skip to content

Commit 61a7e2a

Browse files
committed
.vim/.vimrc: initial import
Signed-off-by: Wincent Colaiuta <[email protected]>
0 parents  commit 61a7e2a

File tree

94 files changed

+36006
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+36006
-0
lines changed

.vim/autoload/rails.vim

Lines changed: 4513 additions & 0 deletions
Large diffs are not rendered by default.

.vim/colors/wincent.vim

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
" MacVim colorscheme
2+
"
3+
" Maintainer: Bjorn Winckler <[email protected]>
4+
" Last Change: 2008 May 9
5+
"
6+
" This is the default MacVim color scheme. It supports both light and dark
7+
" backgrounds (see :h 'background').
8+
"
9+
10+
11+
highlight clear
12+
13+
" Reset String -> Constant links etc if they were reset
14+
if exists("syntax_on")
15+
syntax reset
16+
endif
17+
18+
let colors_name = "wincent"
19+
20+
21+
"
22+
" First list all groups common to both 'light' and 'dark' background.
23+
"
24+
25+
" `:he highlight-groups`
26+
hi DiffAdd guibg=MediumSeaGreen
27+
hi Directory guifg=#1600FF
28+
hi ErrorMsg guibg=Firebrick2 guifg=White
29+
hi FoldColumn guibg=Grey guifg=DarkBlue
30+
hi Folded guibg=#E6E6E6 guifg=DarkBlue
31+
hi IncSearch gui=reverse
32+
hi ModeMsg gui=bold
33+
hi MoreMsg gui=bold guifg=SeaGreen4
34+
hi NonText gui=bold guifg=Blue
35+
hi Pmenu guibg=LightSteelBlue1
36+
hi PmenuSbar guibg=Grey
37+
hi PmenuSel guifg=White guibg=SkyBlue4
38+
hi PmenuThumb gui=reverse
39+
hi Question gui=bold guifg=Chartreuse4
40+
hi SignColumn guibg=Grey guifg=DarkBlue
41+
hi SpecialKey guifg=Blue
42+
hi SpellBad guisp=Firebrick2 gui=undercurl
43+
hi SpellCap guisp=Blue gui=undercurl
44+
hi SpellLocal guisp=DarkCyan gui=undercurl
45+
hi SpellRare guisp=Magenta gui=undercurl
46+
hi StatusLine gui=NONE guifg=White guibg=DarkSlateGray
47+
hi StatusLineNC gui=NONE guifg=SlateGray guibg=Gray90
48+
hi TabLine gui=underline guibg=LightGrey
49+
hi TabLineFill gui=reverse
50+
hi TabLineSel gui=bold
51+
hi Title gui=bold guifg=DeepSkyBlue3
52+
hi VertSplit gui=NONE guifg=DarkSlateGray guibg=Gray90
53+
if has("gui_macvim")
54+
hi Visual guibg=MacSelectedTextBackgroundColor
55+
else
56+
hi Visual guibg=#72F7FF
57+
endif
58+
hi WarningMsg guifg=Firebrick2
59+
60+
" custom additions
61+
hi LineProximity guibg=#DDDDB6
62+
hi LineOverflow guibg=#AAAAB6
63+
hi LineHardLimit guifg=White guibg=Red
64+
65+
" Syntax items (`:he group-name` -- more groups are available, these are just
66+
" the top level syntax items for now).
67+
hi Error gui=NONE guifg=White guibg=Firebrick3
68+
hi Identifier gui=NONE guifg=Aquamarine4 guibg=NONE
69+
hi Ignore gui=NONE guifg=bg guibg=NONE
70+
hi PreProc gui=NONE guifg=DodgerBlue3 guibg=NONE
71+
hi Special gui=NONE guifg=BlueViolet guibg=NONE
72+
hi String gui=NONE guifg=SkyBlue4 guibg=NONE
73+
hi Underlined gui=underline guifg=SteelBlue1
74+
75+
76+
"
77+
" Groups that differ between 'light' and 'dark' background.
78+
"
79+
80+
if &background == "dark"
81+
hi Boolean gui=NONE guifg=DeepPink4 guibg=NONE
82+
hi Comment gui=italic guifg=CadetBlue3
83+
hi Constant gui=NONE guifg=Goldenrod1 guibg=NONE
84+
hi Cursor guibg=LightGoldenrod guifg=bg
85+
hi CursorColumn guibg=Gray20
86+
hi CursorIM guibg=LightSlateGrey guifg=bg
87+
hi CursorLine guibg=Gray20
88+
hi DiffChange guibg=MediumPurple4
89+
hi DiffDelete gui=bold guifg=White guibg=SlateBlue
90+
hi DiffText gui=NONE guifg=White guibg=SteelBlue
91+
hi LineNr guifg=#552A7B guibg=Grey5
92+
hi MatchParen guifg=White guibg=Magenta
93+
hi Normal guifg=Grey50 guibg=Grey10
94+
hi Search guibg=Blue4 guifg=NONE
95+
hi Statement gui=bold guifg=Purple1 guibg=NONE
96+
hi Todo gui=NONE guifg=Green4 guibg=DeepSkyBlue1
97+
hi Type gui=bold guifg=Cyan4 guibg=NONE
98+
hi WildMenu guibg=SkyBlue guifg=White
99+
hi lCursor guibg=LightSlateGrey guifg=bg
100+
else
101+
hi Boolean gui=NONE guifg=Red3 guibg=NONE
102+
hi Comment gui=italic guifg=Blue2 guibg=NONE
103+
hi Constant gui=NONE guifg=DarkOrange guibg=NONE
104+
hi Cursor guibg=fg guifg=bg
105+
hi CursorColumn guibg=#F1F5FA
106+
hi CursorIM guibg=fg guifg=bg
107+
hi CursorLine guibg=#F1F5FA
108+
hi DiffChange guibg=DeepSkyBlue
109+
hi DiffDelete gui=bold guifg=Black guibg=SlateBlue
110+
hi DiffText gui=NONE guibg=Gold
111+
hi LineNr guifg=#888888 guibg=#E6E6E6
112+
hi MatchParen guifg=White guibg=MediumPurple1
113+
if has("gui_macvim")
114+
hi Normal gui=NONE guifg=MacTextColor guibg=#FFFFB6
115+
else
116+
hi Normal gui=NONE guifg=Black guibg=White
117+
endif
118+
hi Search guibg=CadetBlue1 guifg=NONE
119+
hi Statement gui=bold guifg=Maroon guibg=NONE
120+
hi Todo gui=NONE guifg=DarkGreen guibg=PaleGreen1
121+
hi Type gui=bold guifg=Green4 guibg=NONE
122+
hi WildMenu guibg=SkyBlue guifg=Black
123+
hi lCursor guibg=fg guifg=bg
124+
endif
125+
126+
127+
"
128+
" Change the selection color on focus change (but only if the "macvim"
129+
" colorscheme is active).
130+
"
131+
if has("gui_macvim") && !exists("s:augroups_defined")
132+
au FocusLost * if exists("colors_name") && colors_name == "macvim" | hi Visual guibg=MacSecondarySelectedControlColor | endif
133+
au FocusGained * if exists("colors_name") && colors_name == "macvim" | hi Visual guibg=MacSelectedTextBackgroundColor | endif
134+
135+
let s:augroups_defined = 1
136+
endif
137+
138+
" vim: sw=2
139+

0 commit comments

Comments
 (0)