From b28d72ee001daca760ef879ab973db5fd6f79054 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 29 Oct 2017 00:41:20 +1300 Subject: Load Vim Pathogen with :runtime Per this suggestion from the `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. --- Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3