-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (23 loc) · 912 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
plugin_path:=${HOME}/.vim/pack/plugins/start
all: homebrew link vim_plugins git
link:
stow -v --stow home
git: link
git config --global core.excludesfile ${HOME}/.gitignore_global
vim_plugins: link
mkdir -p ${plugin_path}
git -C ${plugin_path} clone https://github.com/tpope/vim-commentary.git
git -C ${plugin_path} clone https://github.com/tpope/vim-fugitive.git
git -C ${plugin_path} clone https://github.com/tpope/vim-rails.git
git -C ${plugin_path} clone https://github.com/tpope/vim-surround.git
git -C ${plugin_path} clone https://github.com/tpope/vim-vinegar.git
git -C ${plugin_path} clone https://github.com/thoughtbot/vim-rspec.git
git -C ${plugin_path} clone https://github.com/junegunn/fzf.vim.git
homebrew:
brew install [email protected] readline stow
brew install rbenv ruby-build fzf fnm tig
clean: clean_vim unlink
clean_vim:
rm -rf ${plugin_path}/*
unlink:
stow -v --delete home