Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable bell in MacVim

I know this topic has been asked multiple times. But I don't seem to be able to disable the acoustic bell in MacVim. What I have in my .vimrc:

set noerrorbells 
set novisualbell
set t_vb=

Am I missing anything?

like image 385
Saucier Avatar asked Apr 16 '13 21:04

Saucier


2 Answers

This should be the missing piece:

autocmd! GUIEnter * set vb t_vb=
like image 108
romainl Avatar answered Oct 12 '22 13:10

romainl


For anyone that for some reason couldn't make this work.

set vb t_vb= " no visual bell & flash

did the job for me.

like image 45
Renan Cidale Avatar answered Oct 12 '22 13:10

Renan Cidale