From: Oleg Broytman Date: Mon, 6 Apr 2020 23:48:12 +0000 (+0300) Subject: .vimrc: Set `visualbell` and `belloff` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=1751a6dde6882ca2ec77adb6ae6181d05701147c;p=dotfiles.git .vimrc: Set `visualbell` and `belloff` --- diff --git a/.vimrc b/.vimrc index 7bb96e2..63217bc 100644 --- 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;