diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | vim/config/test.vim | 2 | ||||
-rw-r--r-- | vim/vimrc | 4 |
3 files changed, 8 insertions, 0 deletions
@@ -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 diff --git a/vim/config/test.vim b/vim/config/test.vim new file mode 100644 index 00000000..b92ea09e --- /dev/null +++ b/vim/config/test.vim @@ -0,0 +1,2 @@ +" Confirm that config subfiles are loading correctly +echo "Config subfiles loading!" @@ -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 |