# HG changeset patch # User Steve Losh # Date 1280276398 14400 # Node ID 039cb7662d50b2eef385ec8bfc38cba5bd4fc7ce # Parent 45b16bbe73c29ac1353e480608c0dbb780c06ab8 vim: reloading .vimrc diff -r 45b16bbe73c2 -r 039cb7662d50 vim/.vimrc --- a/vim/.vimrc Tue Jul 27 11:06:14 2010 -0400 +++ b/vim/.vimrc Tue Jul 27 20:19:58 2010 -0400 @@ -197,3 +197,9 @@ " Diff nmap d :!hg diff % + +" Autosource .vimrc +autocmd bufwritepost .vimrc source $MYVIMRC +autocmd bufwritepost .vimrc source $MYGVIMRC +nmap V :e $MYVIMRC +