Adding a global .gitignore.
[dotfiles] / .vimrc
diff --git a/.vimrc b/.vimrc
index b17c535..5aa1f56 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -25,6 +25,9 @@ set numberwidth=4
 " Scroll five lines ahead of cursor.
 set scrolloff=5
 
+" Turn off error bells and visual bell
+set noeb vb t_vb=
+
 " Set up autoindentation.
 set smartindent
 filetype indent on
@@ -93,4 +96,5 @@ noremap! <Left> <Esc>
 noremap  <Right> ""
 noremap! <Right> <Esc>
 
-
+" Automatically reload the .vimrc when changes are made to it
+au! BufWritePost .vimrc source %