-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
43 lines (33 loc) · 910 Bytes
/
Makefile
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
.PHONY: all
upgrade:
@echo "Updating branch..."
git pull
@echo "Removing unused plugins..."
vim +BundleClean! +qall
@echo "Updating plugins..."
vim +BundleInstall! +qall
full-upgrade: upgrade
./vim_user_install.sh
plugins-clean: bundle/vundle
@echo "Removing unused plugins..."
vim +BundleClean! +qall
plugins-install: bundle/vundle
@echo "Installing plugins..."
vim +BundleInstall +qall
plugins-purge:
@echo "Removing all plugins..."
@-rm -rf ~/.vim/bundle/
plugins-upgrade: bundle/vundle
@echo "Installing plugins..."
vim +BundleUpdate +qall
install: bundle/vundle fonts
@-[ -L ~/.vimrc ] && rm ~/.vimrc
@-[ -f ~/.vimrc ] && mv -v ~/.vimrc ~/.vimrc.bak.${RANDOM}
ln -sfv ~/.vim/.vimrc ~/.vimrc
reinstall: plugins-purge install
bundle/vundle:
git clone https://github.com/gmarik/vundle.git ./bundle/vundle
# required for powerline
fonts:
# ignore for OSX
-fc-cache -vf ~/.fonts