From 2acf2e504711e716a18a8dd7a31514ad19fbd3d0 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 21 Jun 2018 12:54:53 +1200 Subject: Add 'belloff' .vimrc setting --- vim/vimrc | 10 +++++++--- 1 file 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 -- cgit v1.2.3