]> git.phdru.name Git - dotfiles.git/blobdiff - .vimrc
.vimrc: Set `visualbell` and `belloff`
[dotfiles.git] / .vimrc
diff --git a/.vimrc b/.vimrc
index 7bb96e27e7398e5b2ebf9ac7c63e4b2b12331c42..63217bca0f8d6fff3ef2306fb64035f89b9b8d3c 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -99,6 +99,10 @@ endif
 
 set ruler         " Show cursor position below each window
 set showcmd       " Show (partial) command keys in the status line
+set visualbell    " Use visual bell instead of beeping
+if v:version >= 800
+   set belloff=error,insertmode " Do not ring the bell for these reasons
+endif
 
 " Short message for [Modified];
 " overwrite message for writing a file with subsequent message;