This question already has an answer here:
I would like to use
vim in two scenarios:
- To write a code.
- To write prose.
Customizing the vim's config file (i.e. .vimrc) is hard work. When I edit (.vimrc) for prose, some specs of what I can use for writing a code had broken.
Is it possible to have multiple config files for vim? Now, I have two
.vimrc files, and when I write prose, I change the name of one of the files. For example, I make it
.vimrc.bak and then use the other file, but that workflow is tedious.