I learned that if you want to have a project specific
.vimrc file you first need to enable it:
" ~/.vimrc set exrc
And then you can create your specific project
.vimrc file configuration in the root of your project folder.
exrc you should also consider to set
secure flag as well (h/t @ali_aliev).