Added support for automatically applying changes the user writes to the .vimrc.
authorDavid Kerkeslager <kerkeslager@gmail.com>
Thu, 23 Sep 2010 15:13:53 +0000 (08:13 -0700)
committerDavid Kerkeslager <david.kerkeslager@globalpovertyproject.com>
Tue, 4 Aug 2015 15:01:14 +0000 (15:01 +0000)
.vimrc

diff --git a/.vimrc b/.vimrc
index b17c535..fd01a20 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -93,4 +93,7 @@ noremap! <Left> <Esc>
 noremap  <Right> ""
 noremap! <Right> <Esc>
 
+" Automatically reload the .vimrc when changes are made to it
+au! BufWritePost .vimrc source %
+