summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 47fe6bb..bebe78d 100644
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,15 @@ apply-alias:
5 ln -s `pwd`/alias ~/.bash_aliases 5 ln -s `pwd`/alias ~/.bash_aliases
6 6
7apply-vim: 7apply-vim:
8 # amix-vimrc
8 if [ ! -d "$(HOME)/.vim_runtime" ]; then \ 9 if [ ! -d "$(HOME)/.vim_runtime" ]; then \
9 git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime && \ 10 git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime && \
10 sh ~/.vim_runtime/install_awesome_vimrc.sh; \ 11 sh ~/.vim_runtime/install_awesome_vimrc.sh; \
11 fi 12 fi
13 # vim-plug
14 curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
15 https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
16
12 rm -f ~/.vim_runtime/my_configs.vim 17 rm -f ~/.vim_runtime/my_configs.vim
13 ln -s `pwd`/vimrc ~/.vim_runtime/my_configs.vim 18 ln -s `pwd`/vimrc ~/.vim_runtime/my_configs.vim
14 19