-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (18 loc) · 731 Bytes
/
Makefile
File metadata and controls
21 lines (18 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!make
SHELL := /bin/bash
MAKEFLAGS += --silent
install:
which vim > /dev/null || (echo "Please install vim to continue"; exit 1)
ln -s $(shell pwd)/vim ~/.vim
ln vimrc ~/.vimrc
ln vimrc.bundles ~/.vimrc.bundles
cp vimrc.local ~/.vimrc.local
cp vimrc.bundles.local ~/.vimrc.bundles.local
git config --global core.autocrlf input
mkdir vim/bundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim > /dev/null
vim -c "PluginInstall!" -c "q" -c "q"
echo "And you're done! Have fun with your new and improved vim!"
uninstall:
rm -rf ~/.vim ~/.vimrc ~/.vimrc.bundles ~/.vimrc.local ~/.vimrc.bundles.local
echo "vim-up is uninstalled, there may be some files that need to be removed manually"