aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-29 00:41:20 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-29 00:41:20 +1300
commitb28d72ee001daca760ef879ab973db5fd6f79054 (patch)
treeac3b31bbeee9338dafe13668c1b03d375fc71067 /Makefile
parentRestore dotfiles(7) manual as pre-built dist file (diff)
downloaddotfiles-b28d72ee001daca760ef879ab973db5fd6f79054.tar.gz
dotfiles-b28d72ee001daca760ef879ab973db5fd6f79054.zip
Load Vim Pathogen with :runtime
Per this suggestion from the `vim-pathogen` FAQ: <https://github.com/tpope/vim-pathogen#faq> >>Can I put pathogen.vim in a submodule like all my other plugins? > >Sure, stick it under `~/.vim/bundle`, and prepend the following to >your vimrc: > > runtime bundle/vim-pathogen/autoload/pathogen.vim This method avoids using symbolic links, which is desirable in general, and also removes the need for the `install-vim-pathogen` dependency of the `install-vim-plugin` target, since this is now done in Vim configuration. This also takes away another of the steps required for setting up the Vim configuration on Windows.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index f2da32ce..74ebd0f4 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,6 @@
install-vim-config \
install-vim-gui \
install-vim-gui-config \
- install-vim-pathogen \
install-vim-plugins \
install-wget \
install-x \
@@ -464,8 +463,7 @@ install-urxvt: urxvt/ext/select
-exec cp -p -- {} $(HOME)/.urxvt/ext \;
install-vim: install-vim-config \
- install-vim-plugins \
- install-vim-pathogen
+ install-vim-plugins
install-vim-config:
mkdir -p -- $(HOME)/.vim/config
@@ -483,10 +481,6 @@ install-vim-plugins: install-vim-config
-type d -exec sh -c 'mkdir -p -- $(HOME)/."$$1"' _ {} \; -o \
-type f -exec sh -c 'cp -p -- "$$1" $(HOME)/."$$1"' _ {} \;
-install-vim-pathogen: install-vim-plugins
- mkdir -p -- $(HOME)/.vim/autoload
- ln -fs -- ../bundle/pathogen/autoload/pathogen.vim $(HOME)/.vim/autoload
-
install-wget:
cp -p -- wget/wgetrc $(HOME)/.wgetrc