open vimrc during a vim editing session

While editing a file, you want to do something, google it and need to make a change to your vimrc.

This can be done with the command

:e $MYVIMRC

You now need to load the new settings. Do this with

:so $MYVIMRC

or, if your vimrc is the current file

:so %

Advertisements