aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-01-23 14:58:52 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-01-23 14:58:52 +1300
commit3e2740fe832372eecc2394057c7551b040c0ce65 (patch)
treeec9bad735ec5e5d73e69fc9223135f3eb8ece3a5 /Makefile
parentMerge branch 'release/v0.25.0' into develop (diff)
downloaddotfiles-3e2740fe832372eecc2394057c7551b040c0ce65.tar.gz
dotfiles-3e2740fe832372eecc2394057c7551b040c0ce65.zip
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 5 insertions, 7 deletions
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