0

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 Answers1

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