aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc10
1 files changed, 7 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 34d5b2c7..6f699bb7 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -47,6 +47,13 @@ set backspace+=indent " Spaces from 'audoindent'
set backspace+=eol " Line breaks
set backspace+=start " The start of current insertion
+" Never use any kind of bell, visual or not
+if exists('+belloff')
+ set belloff=all
+else
+ set visualbell t_vb=
+endif
+
" Start with blank comment strings rather than the old default; let the
" filetype handle it
set comments=
@@ -116,9 +123,6 @@ set shortmess+=x " [dos format] -> [dos]
" Default to no swap files at all, let auto_cache_dirs.vim set it
set noswapfile
-" Never use any kind of bell, visual or not
-set visualbell t_vb=
-
" Don't wrap by default, but use \w to toggle it on or off
set nowrap