I am trying to disable the error bells on vim, both visual and audio. However I cannot get them to stay off.
I have the following in my vimrc
:
I tried several times with different configurations but none worked. It seems that gVim resets the visual bell when the GUI starts. The only way it works for me is this snippet at the end of your .vimrc
(or _vimrc
if you are using Windows):
set visualbell t_vb=
if has("autocmd") && has("gui")
au GUIEnter * set t_vb=
endif