diff --git a/install.sh b/install.sh index ac9c101..2cb2421 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,5 @@ #!/bin/sh -rm -f $HOME/.vimrc -rm -f $HOME/.ideavimrc rm -f $HOME/.config/i3/config rm -f $HOME/.config/dunst/dunstrc rm -f $HOME/.config/i3blocks @@ -18,8 +16,6 @@ mkdir -p $HOME/bin/ mkdir -p $HOME/.ssh mkdir -p $HOME/.local/share/applications -ln -s $(pwd)/vimrc $HOME/.vimrc -ln -s $(pwd)/ideavimrc $HOME/.ideavimrc ln -s $(pwd)/i3-config $HOME/.config/i3/config ln -s $(pwd)/i3blocks $HOME/.config/i3blocks ln -s $(pwd)/compton.conf $HOME/.config/compton.conf diff --git a/vim/Makefile b/vim/Makefile new file mode 100644 index 0000000..1ee132b --- /dev/null +++ b/vim/Makefile @@ -0,0 +1,12 @@ +VIMRC=vimrc +VIMRC_OUT=$(HOME)/.vimrc + +.PHONY: clean_install + +clean_install: clean install + +clean: + rm -f $(VIMRC_OUT) + +install: + cp $(VIMRC) $(VIMRC_OUT) diff --git a/vimrc b/vim/vimrc similarity index 100% rename from vimrc rename to vim/vimrc