From 7954a0d9d6d77c96b164b892d11eb8ea5764699b Mon Sep 17 00:00:00 2001 From: pgrondek Date: Thu, 11 Jul 2019 22:59:01 +0200 Subject: [PATCH] [vim] Move configuration to separate folder --- install.sh | 4 ---- vim/Makefile | 12 ++++++++++++ vimrc => vim/vimrc | 0 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 vim/Makefile rename vimrc => vim/vimrc (100%) 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