-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (24 loc) · 705 Bytes
/
Copy pathMakefile
File metadata and controls
34 lines (24 loc) · 705 Bytes
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
32
33
34
SESSION=vimconfig
all:install-modules
install-modules:
git submodule sync && git submodule update
update:
git submodule update
symlink:
mkdir -p $(HOME)/.vim
ln -s $(PWD)/_vimrc $(HOME)/_vimrc
ln -s $(PWD)/vim-pathogen/autoload $(HOME)/.vim/autoload
ln -s $(PWD)/bundle $(HOME)/.vim/bundle
ln -s $(PWD)/ftplugin $(HOME)/.vim/ftplugin
install: symlink
# remove current vimrc and all symlinks possibly created
uninstall:
rm $(HOME)/_vimrc
rm -rf $(HOME)/.vim/bundle
rm -rf $(HOME)/.vim/ftplugin
rm -rf $(HOME)/.vim/autoload
workspace:
tmux new-session -s $(SESSION) -n main
# to completetly remove a git submodule from this repository
# remove:
# rm -rf ./.git/modules/[module-name]