From 3e2740fe832372eecc2394057c7551b040c0ce65 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 23 Jan 2018 14:58:52 +1300 Subject: Remove Pathogen from Vim setup Given that all of this is installed rather than symbolically linked, there's not really any harm following the old mixed ~/.vim layout for plugins. It's one less dependency and it makes the setup quite a bit less complicated. --- Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index dcb3b959..c4afdac8 100644 --- a/Makefile +++ b/Makefile @@ -497,7 +497,6 @@ install-urxvt: urxvt/ext/select -exec cp -p -- {} $(HOME)/.urxvt/ext \; install-vim: install-vim-after \ - install-vim-autoload \ install-vim-bundle \ install-vim-compiler \ install-vim-config \ @@ -525,14 +524,13 @@ install-vim-after-syntax: mkdir -p $(HOME)/.vim/after/syntax cp -p -- vim/after/syntax/*.vim $(HOME)/.vim/after/syntax -install-vim-autoload: - mkdir -p -- $(HOME)/.vim/autoload - cp -p -- vim/autoload/*.vim $(HOME)/.vim/autoload - install-vim-bundle: install-vim-config find vim/bundle -name .git -prune -o \ - -type d -exec sh -c 'mkdir -p -- $(HOME)/."$$1"' _ {} \; -o \ - -type f -exec sh -c 'cp -p -- "$$1" $(HOME)/."$$1"' _ {} \; + -type d -exec sh -c \ + 'mkdir -p -- $(HOME)/.vim/"$${1#vim/bundle/*/}"' _ {} \; \ + -o \ + -type f -exec sh -c \ + 'cp -p -- "$$1" $(HOME)/.vim/"$${1#vim/bundle/*/}"' _ {} \; install-vim-compiler: mkdir -p -- $(HOME)/.vim/compiler -- cgit v1.2.3