aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-13 10:02:36 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-13 10:03:42 +1200
commit35ba8df810c204ac6c5c013f93d33feb2b4b9b6a (patch)
treee120854b890efc8b591f8f8c6e1c808209a49622 /vim
parent50479150154d31cff24458f2a06c42b6ebf4992a (diff)
downloaddotfiles-35ba8df810c204ac6c5c013f93d33feb2b4b9b6a.tar.gz
dotfiles-35ba8df810c204ac6c5c013f93d33feb2b4b9b6a.zip
Remove bell disabling in Vim
I just realised that all of my terminals are already configured to handle this in a useful way; in tmux, the window name goes red, and in PuTTY, the Windows taskbar icon flashes.
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc7
1 files changed, 0 insertions, 7 deletions
diff --git a/vim/vimrc b/vim/vimrc
index f07f77e8..92052ece 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -48,13 +48,6 @@ set backspace+=eol " Line breaks
set backspace+=indent " Spaces from 'autoindent'
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
-
" How to deal with lines wrapping beyond the last screen row
if v:version > 704 || v:version == 704 && has('patch2109')
set display=truncate " Show '@@@' on the last line, if supported