Vim, how to play without the beeps?

Solution 1:

Have you tried adding the following to your .vimrc?

set noerrorbells visualbell t_vb=
if has('autocmd')
  autocmd GUIEnter * set visualbell t_vb=
endif

Hint: Vim Wikia is almost always the best place to look for Vim tips

Solution 2:

set belloff=all

worked on Ubuntu 18.04, vim-gtk3 8.0.

See also: https://stackoverflow.com/questions/18589352/how-to-disable-vim-bells-sounds