Can I have a .vimrc
file in local folder, so that each time I open files in that folder, vim will automatically load that .vimrc
file? so that I can have different settings in different folder?
1 Answer
Yes. See :help 'exrc'
. But don't skip the part that says: BETTER NOT SET THIS OPTION!
We also have a few earlier questions for which the answers detail alternative approaches.