diff options
author | typebrook <typebrook@gmail.com> | 2019-03-03 21:28:23 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-03-03 21:28:23 +0800 |
commit | 4f11562d12d9e57167f8a021b885628490b62c67 (patch) | |
tree | 092428fc0ce9a3afaa24a4da534f0f470ee07f49 | |
parent | 98bc08b1da020efbeb3397b1c735a8337377eb69 (diff) |
update
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -5,10 +5,15 @@ apply-alias: | |||
5 | ln -s `pwd`/alias ~/.bash_aliases | 5 | ln -s `pwd`/alias ~/.bash_aliases |
6 | 6 | ||
7 | apply-vim: | 7 | apply-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 | ||