aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-21 12:54:53 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-21 12:54:53 +1200
commit2acf2e504711e716a18a8dd7a31514ad19fbd3d0 (patch)
treeb8812222eca07a0d575611cbe54e6ecc30d6862e /vim/vimrc
parentSimplify exm(1df) (diff)
downloaddotfiles-2acf2e504711e716a18a8dd7a31514ad19fbd3d0.tar.gz
dotfiles-2acf2e504711e716a18a8dd7a31514ad19fbd3d0.zip
Add 'belloff' .vimrc setting
Diffstat (limited to 'vim/vimrc')
-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