Browse - Computer Tips - How can I stop vim from beeping (making sound)?

Date: 2014oct8
Product: vim
OS: Linux
Keywords: vi, beep, beeps

Q.  How can I stop vim from beeping (making sound)?
(eg when I press ESC in command mode)

A.  Add this to your personal ~/.vimrc file or the global one /etc/vimrc

set visualbell set t_vb=
This tells vim to visually beep you but then sets the string to do that to nothing -- effectively disabling it.