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?
Asked
Active
Viewed 150 times
0
Yuanhao JIANG
- 59
- 5
1 Answers
1
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.
Rich
- 31,891
- 3
- 72
- 139