diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-04 14:49:47 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-04 15:13:43 +1300 |
commit | 4c46c80b18df43eb7917f312e13e992a343b6fa1 (patch) | |
tree | 80f31ddc96586adc70fabfc93f14845aecdfc3ef /Makefile | |
parent | Spin 'fo' toggle out into new flag toggler plugin (diff) | |
download | dotfiles-4c46c80b18df43eb7917f312e13e992a343b6fa1.tar.gz dotfiles-4c46c80b18df43eb7917f312e13e992a343b6fa1.zip |
Specify an install-vim-autoload target
We'll use this for defining Vim functions that should be dynamically
loaded when required, rather like how pathogen.vim does it.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -38,6 +38,7 @@ install-urxvt \ install-vim \ install-vim-after \ + install-vim-autoload \ install-vim-bundle \ install-vim-config \ install-vim-ftdetect \ @@ -472,6 +473,7 @@ install-urxvt: urxvt/ext/select -exec cp -p -- {} $(HOME)/.urxvt/ext \; install-vim: install-vim-after \ + install-vim-autoload \ install-vim-bundle \ install-vim-config \ install-vim-doc \ @@ -485,6 +487,10 @@ install-vim-after: -type d -exec sh -c 'mkdir -p -- $(HOME)/."$$1"' _ {} \; -o \ -type f -exec sh -c 'cp -p -- "$$1" $(HOME)/."$$1"' _ {} \; +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 \ |