It’s boring to restart all vim windows after changing something in .vimrc file. Actually you can reload .vimrc file for all you open vim windows.

:so ~/.vimrc
  • so means source
  • ~ stands your home directory

Alternatively , you also can use below command to reload vimrc file

  • The $MYVIMRC environment variable is set to the personal initialization file that was first found

In case you are not using Linux you can use below command to get the location of your .vimrc file

:echo $MYVIMRC