" ############################################################################# " ### Documentation ########################################################### " ############################################################################# " File: vimrc.default " Version: 0.10 " Summary: Loads up additional vimrc files that have decent defaults; also " offers a decent function for loading those files. " Maintainer: Tim Skirvin " License: BSD License " " Link this into your ~/.vimrc file; note that other config files may depend on " this file. " ############################################################################# " ### main #################################################################### " ############################################################################# " Source the given file or fail out. function! LoadFile(filename) let FILE=expand(a:filename) if filereadable(FILE) exe "source " FILE else echo "Can't source " FILE endif endfunction " Load a default vim configuration exec LoadFile("~/.config/vim/vimrc.options") " Load a personalized vim configuration, after finishing with the default exec LoadFile("~/.config/vim/vimrc.local") " ############################################################################# " ### Version Log ############################################################# " ############################################################################# " # 0.10 Thu Mar 24 13:57:23 CST 2005 tskirvin " ### Initial version.