After investigating alternatives for exrc I found too many, doing a wide range of irrelevant stuff, many unmaintained, others requiring multiple dependencies, and some loaded the configuration too late. The only one that seemed to fit the bill is vim-addon-local-vimrc, which does work straightofrwardly, but hasn't been updated since 2015. Instead I chose to simply vim-addon-local-vimrc, and take advantage of git ('git rev-parse --show-toplevel' saves us a lot of the complexity of these loaders). The result is a very simple loader which is also secure, since it cannot do anything unless you manually whitelist the project(s) you want load .vimrc files from. And since I already created some files in 'contrib/vim' I decided to put the sharness syntax file there too. Felipe Contreras (2): Add project-wide .vimrc configuration contrib: vim: add sharness syntax file .vimrc | 23 ++++++++++++++++++++++ contrib/vim/plugin/gitvimrc.vim | 21 ++++++++++++++++++++ contrib/vim/syntax/sharness.vim | 34 +++++++++++++++++++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 .vimrc create mode 100644 contrib/vim/plugin/gitvimrc.vim create mode 100644 contrib/vim/syntax/sharness.vim -- 2.29.2