Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (18 sloc) 583 Bytes
vim = ~/.vim
all:update
install:
@mv ~/.vimrc ~/.vimrc_bak || echo "There was no existing .vimrc, so no need to backup"
@mv ~/.gvimrc ~/.gvimrc_bak || echo "There was no existing .gvimrc, so no need to backup"
@ln -s ${vim}/vimrc ~/.vimrc
@git submodule update --init
@make -s command-t
@make -s pathogen
update:
@git submodule foreach git pull
@make -s command-t
@make -s pathogen
command-t:
@cd ${vim}/bundle/command-t && rake clean && rake make
pathogen:
@mkdir -p ~/.vim/autoload ~/.vim/bundle
@curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim