Vim Editor ::: Reloading .vimrc

In order to reload .vimrc while editing it in vim, type:

:so %

% stands for current file name(see :h current-file) and :so is short for :source, which reads the content of the specified file and treats it as Vim code.

In general, to reload the currently active .vimrc, type:


Leave a Reply

Your email address will not be published.