On Windows, the default configuration directory of Vimperator is "C: \ Documents and Settings \ Administrator \", which corresponds "~ /"Directory. In this way, you must put the vimperator configuration file under this directory to initialize Vimperator. Because this directory is "dangerous", every time you reinstall the machine or restore the system with one click, it will affect the existing Vimperator configuration in this directory. Therefore, I have rewritten Vimperatorrc several times. Today, I think we can use the source command to solve this problem. The method is as follows:
- Create the. vimperatorrc file in the "C: \ Documents and Settings \ Administrator \" directory;
- In the. vimperatorrc file, write a line of Jump codeSource "D :\\ MyDocuments \ Personal \ SoftwareConfig \ Vimperator \. vimperatorrc"
- Copy the original configuration code to the D: disk file.
In this way, every time you reinstall the system, you can feel at ease. Copy the file to another machine and immediately restore the existing Vimperator settings.