: source + configuration file, I remember there is a plug-in that can detect changes in your local configuration file and automatically read it in. You can google it. However, I personally feel that this function does not make much sense, after all, the configuration file is not changed frequently.
:so $MYVIMRC
Since you are talking about _vimrc, it should be under Windows.
If your _vimrc is placed in %ProgramFiles%/vim/_vimrc, you can use it like this
If it is in %USERPROFILE%/_vimrc, then you can use it
or
In addition, the latter is used under Linux/Unix, but the file name is generally .vimrc.
Add the following content to .vimrc or _vimrc:
It’s feasible, mainly
$HOME/.vimrc
here, change it as needed, please refer to the Vim Chinese user manual for detailsOf course, the premise is to have autocmd detection method
So it can be like this
: source + configuration file, I remember there is a plug-in that can detect changes in your local configuration file and automatically read it in. You can google it. However, I personally feel that this function does not make much sense, after all, the configuration file is not changed frequently.