On Sun, May 14, 2006 at 07:49:11PM -0500, Jared wrote: > I'd like to map a hotkey to re-source my vimrc files (system + user). I > originally tried this simple approach: > > nmap <buffer> <S-F9> :source $VIM\vimrc<CR> > \ :source $VIM\_vimrc<CR> > \ :source $HOME\_vimrc<CR> > > But that failed because source aborts when the file doesn't exist.
You could probably use :runtime instead of :source. :help :runtime [...] -- with kind regards Thor Andreassen