aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-28 21:30:54 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-28 21:30:54 +1300
commit04316986732bdd348b190c38a98cb4f14ea190a3 (patch)
tree11758a08f94c05e2fbb86f51832bb5d261898926 /vim/vimrc
parentMove undo .vimrc config into subfile (diff)
downloaddotfiles-04316986732bdd348b190c38a98cb4f14ea190a3.tar.gz
dotfiles-04316986732bdd348b190c38a98cb4f14ea190a3.zip
Add ! to runtime for sourcing vimrc subfiles
From :help :runtime: > When [!] is included, all found files are sourced. When it is not > included only the first found file is sourced.
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index c3118f71..abe783cc 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -9,7 +9,7 @@ endif
" Load configuration files from ~/.vim/config or its analogue, before Pathogen
" loads all its directories into 'runtimepath'
-runtime config/*.vim
+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