blob: 5d606577d2b18bdd17cef98208bc0f123b2c82ea (
plain) (
blame)
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
|
all: default install clean
install:
cp stage ../init.vim
clean:
# remove *.bak files for the in-place editing
rm stage *.bak
main:
cat \
base.vim \
plugins.vim \
filetypes.vim \
listchars.vim \
mouse.vim \
syntax.vim \
>> stage
default:main
echo "colorscheme distinguished" \
>> stage
solarized:
echo "colorscheme solarized" >> stage
solarized_dark: solarized
echo "set backgroud=dark" >> stage
solarized_256: solarized
echo "let g:solarized_termcolors=256" >> stage
solarized_dark_256: solarized solarized_dark solarized_256
base:
# Disable Plugins for base
cat \
warning.vim \
base.vim \
> stage
disable_plugins:
# Using -i.bak for compatibility with BSD sed
sed -i.bak -e'/pathogen#infect/d' stage
help:
@echo "Current build options are:"
@echo " default: builds full configuratoin ( default )"
@echo " main: builds full configuratoin without colors"
@echo " solarized: adds solarized light ( requires terminal theme )"
@echo " solarized_dark: adds solarized dark ( requires terminal theme )"
@echo " solarized_256: adds solarized ( 256color )"
@echo " solarized_dark_256: adds solarized dark ( 256color )"
@echo " base: builds a basic configuration"
@echo " disable_plugins: Disable pathogen ( plugin support )"
@echo " clean: cleans the stage file"
@echo " install: installs the staged config"
|