VIM Editor ::: Reloading .vimrc File Without Restarting Vim

In order to reload .vimrc file in Vim without having to reload Vim:

  1. Enter VIM ::: vim filename
  2. Open your Vim’s config file ::: :vs ~/.vimrc
  3. Put in your Vim’s settings, ie ::: set number or syntax on
  4. Use :wq to save these alterations and close .vimrc file
  5. Then you can reload your .vimrc file by typing ::: :so $MYVIMRC or :source ~/.vimrc

Source