VIM Editor ::: Reloading .vimrc File Without Restarting Vim
In order to reload .vimrc file in Vim without having to reload Vim:
- Enter VIM :::
vim filename
- Open your Vim’s config file :::
:vs ~/.vimrc
- Put in your Vim’s settings, ie :::
set number
orsyntax on
- Use
:wq
to save these alterations and close .vimrc file - Then you can reload your .vimrc file by typing :::
:so $MYVIMRC
or:source ~/.vimrc