From 1751a6dde6882ca2ec77adb6ae6181d05701147c Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 7 Apr 2020 02:48:12 +0300 Subject: [PATCH] .vimrc: Set `visualbell` and `belloff` --- .vimrc | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.39.5