aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-28 21:19:35 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-28 21:19:35 +1300
commit19f6f3b665834a684ffd0f1b25809222fa607888 (patch)
treee99f0fd770c12a0b5b8bb1168c6c1a756de983a0 /Makefile
parentMove .vimrc 'encoding' to beneath scriptencoding (diff)
downloaddotfiles-19f6f3b665834a684ffd0f1b25809222fa607888.tar.gz
dotfiles-19f6f3b665834a684ffd0f1b25809222fa607888.zip
Set up .d-style vimrc subdir for config breakup
Before loading up all the plugins proper from ~/.vim/bundle with Pathogen, apply :runtime to load all .vim files in a new config directory, installed by the Makefile. I hope that this will enable me to break most of my .vimrc up into logically-arranged subfiles. This is just a guess at a good way of doing this that will almost certainly need refinement and restructuring later.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6cfee7a1..630eaf79 100644
--- a/Makefile
+++ b/Makefile
@@ -462,7 +462,9 @@ install-vim: install-vim-config \
install-vim-pathogen
install-vim-config:
+ mkdir -p -- $(HOME)/.vim/config
cp -p -- vim/vimrc $(HOME)/.vimrc
+ cp -p -- vim/config/*.vim $(HOME)/.vim/config
install-vim-gui: install-vim \
install-vim-gui-config