I was working on an open source plugin where they were sticklers regarding indentation. So I needed to have a project specific .vimrc
so I wasnt messing with my global config.
To get this done just add the following lines to your ~/.vimrc
" ~/.vimrc
set exrc "Enable Project Specific settings
set secure "Skip incorrect settings
Now you can add a project specific .vimrc
and it will automatically override any global rules with the ones in your project specific .vimrc ex. ~/apps/my_project/.vimrc
Simple pimple.
Related External Links: