Home ›
Include another file in your Vim configuration fileInclude another file in your Vim configuration file
Submitted by Benjamin Melançon on July 12, 2009 - 10:39am
To store your Vim settings in a different file (Agaric does this so that we can put all our "custom home" configuration type files easily in version control together) use the source command.
In .vimrc to include other file:
source /path/to/file/morvimconfig
In ben-agaric's case, the entire .vimrc file is only:
source /home/ben/customhome/.vimrc-agaric