-
Notifications
You must be signed in to change notification settings - Fork 1
/
tim.vim
97 lines (92 loc) · 4.72 KB
/
tim.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
" Vim color file
" File: ~/.vim/colors/tim.vim
" Author: Tim Pope <vimNOSPAM@tpope.info>
" Last Change: 2007 Oct 01
if version>600
hi clear
endif
if exists("syntax_on")
syntax reset
endif
let colors_name = "tim"
hi Type gui=none
hi Statement gui=none
hi Search NONE gui=underline term=underline cterm=underline
hi link rubyBlockParameter NONE
hi link rubyConstant Type
"hi link rubyType Type
hi link rubySymbol Constant
"hi link railsMethod Type
"hi TabLineFill term=underline cterm=underline gui=underline
hi TabLineFill NONE
hi link TabLineFill TabLine
if &background=="light"
" Section: Light Background {{{1
" ------------------------------
hi Normal term=reverse ctermfg=Black ctermbg=White guifg=Black guibg=White
hi LineNr ctermfg=Black ctermbg=LightGrey guifg=Black guibg=LightGrey
hi Folded ctermfg=DarkBlue ctermbg=LightGrey guifg=DarkBlue guibg=LightGrey
hi FoldColumn ctermfg=DarkBlue ctermbg=LightGrey guifg=DarkBlue guibg=LightGrey
hi PmenuSel ctermfg=Black ctermbg=LightCyan
hi Comment term=bold ctermfg=Blue guifg=Blue
" hi Label term=bold ctermfg=LightMagenta guifg=LightMagenta
hi SpecialKey ctermfg=LightGrey guifg=Grey
if version >= 700
" hi Visual ctermbg=LightMagenta cterm=none
hi VisualNOS ctermbg=LightRed cterm=none guibg=LightRed gui=none
endif
"hi TabLine term=underline cterm=underline,bold gui=underline guibg=NONE
"hi TabLineSel term=bold cterm=none gui=bold
hi StatusLine term=bold,inverse cterm=none ctermfg=White ctermbg=0
hi StatusLineNC term=bold,inverse cterm=none ctermfg=grey ctermbg=Black
hi User1 ctermfg=LightBlue ctermbg=Black gui=bold guifg=DodgerBlue guibg=Black
hi User2 ctermfg=LightGreen ctermbg=Black gui=bold guifg=Green guibg=Black
hi User3 ctermfg=Yellow ctermbg=Black gui=bold guifg=Yellow guibg=Black
hi User4 ctermfg=LightRed ctermbg=Black gui=bold guifg=IndianRed1 guibg=Black
hi User5 ctermfg=LightCyan ctermbg=Black gui=bold guifg=Cyan guibg=Black
hi SpellErrors ctermfg=Red guifg=Red cterm=underline gui=underline term=reverse
hi MatchParen term=reverse ctermbg=LightCyan guibg=Cyan
" }}}1
else
" Section: Dark Background {{{1
" -----------------------------
hi Identifier cterm=none ctermfg=Cyan
hi Normal ctermfg=LightGrey ctermbg=Black guifg=LightGrey guibg=Black
hi LineNr ctermfg=White ctermbg=DarkBlue guifg=White guibg=DarkBlue
hi Folded ctermfg=LightCyan ctermbg=DarkBlue guifg=Cyan guibg=DarkBlue
hi FoldColumn ctermfg=LightCyan ctermbg=DarkBlue guifg=Cyan guibg=DarkBlue
hi PmenuSel ctermfg=White ctermbg=DarkBlue
hi Pmenu ctermfg=Grey ctermbg=DarkMagenta
hi Todo ctermfg=White ctermbg=Black
hi Comment term=bold ctermfg=DarkCyan guifg=DarkCyan
" hi Label term=bold ctermfg=DarkMagenta guifg=DarkMagenta
hi SpecialKey ctermfg=DarkGrey guifg=DimGrey
if version >= 700
hi Visual ctermbg=DarkMagenta cterm=none
hi VisualNOS ctermbg=DarkRed cterm=none guibg=DarkRed gui=none
endif
"hi TabLine term=underline cterm=underline gui=underline guibg=NONE
"hi TabLineSel term=bold cterm=bold gui=bold
if &t_Co > 8
hi StatusLine term=bold,reverse ctermbg=White ctermfg=Black cterm=none guifg=White
hi StatusLineNC term=reverse ctermbg=Grey cterm=none guifg=White
hi User1 term=bold,reverse ctermbg=White ctermfg=DarkBlue gui=bold guifg=Blue guibg=White
hi User2 term=bold,reverse ctermbg=White ctermfg=DarkGreen gui=bold guifg=DarkGreen guibg=White
hi User3 term=bold,reverse ctermbg=White ctermfg=Brown gui=bold guifg=Brown guibg=White
hi User4 term=bold,reverse ctermbg=White ctermfg=DarkRed gui=bold guifg=Red guibg=White
hi User5 term=bold,reverse ctermbg=White ctermfg=DarkCyan gui=bold guifg=DarkCyan guibg=White
elseif &t_Co > 2
hi StatusLine term=bold,reverse cterm=bold,reverse ctermfg=White ctermbg=Black guifg=White
hi StatusLineNC term=reverse cterm=reverse ctermfg=Grey guifg=White
hi User1 term=bold,reverse cterm=reverse ctermfg=White ctermbg=Blue gui=bold guifg=Blue guibg=White
hi User2 term=bold,reverse cterm=reverse ctermfg=White ctermbg=DarkGreen gui=bold guifg=DarkGreen guibg=White
hi User3 term=bold,reverse cterm=reverse ctermfg=White ctermbg=Brown gui=bold guifg=Brown guibg=White
hi User4 term=bold,reverse cterm=reverse ctermfg=White ctermbg=Red gui=bold guifg=Red guibg=White
hi User5 term=bold,reverse cterm=reverse ctermfg=White ctermbg=DarkCyan gui=bold guifg=DarkCyan guibg=White
endif
hi SpellLocal ctermbg=DarkGreen
hi SpellErrors ctermfg=LightRed guifg=Red cterm=underline gui=underline term=reverse
hi MatchParen term=reverse ctermbg=DarkBlue guibg=DarkCyan
" }}}1
endif
" vim:set ft=vim sts=2 sw=2: