Added support for automatically applying changes the user writes to the .vimrc.
[dotfiles] / .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 %
+