Stop error beep in WSL Bash and in vim

To turn off the annoying error beep sound in WSL Ubuntu.
assuming you know how to edit/save in vim.
run this.
sudo vim /etc/inputrc/
uncomment
# set bell-style none
so it says
set bell-style none

vim will still beep.
Stop vim beeping by adding set visualbell to your .vimrc

Nice, thanks. I also just went in and pointed the Windows 10 output at a speaker that’s not connected. :wink: