diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 21:19:35 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 21:19:35 +1300 |
commit | 19f6f3b665834a684ffd0f1b25809222fa607888 (patch) | |
tree | e99f0fd770c12a0b5b8bb1168c6c1a756de983a0 /vim/vimrc | |
parent | Move .vimrc 'encoding' to beneath scriptencoding (diff) | |
download | dotfiles-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 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -7,6 +7,10 @@ if has('multi_byte') scriptencoding utf-8 endif +" Load configuration files from ~/.vim/config or its analogue, before Pathogen +" loads all its directories into 'runtimepath' +runtime config/*.vim + " If our version isn't ancient and Pathogen is available, call it to load all " the plugins in .vim/bundle; these are saved as submodules if v:version >= 701 |