Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have started to like coding while listening to music. However this means I can't use vim with the sound off.

It seems I get a beep when I press escape, or press :

I'm on a Mac, and I love vim and now love listening to music at the same time.

How can I use vim so I don't make these mistakes -- or can I just disable beep from the terminal? Why does vim beep so?

share|improve this question
up vote 6 down vote accepted

Have you tried adding the following to your .vimrc?

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

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

share|improve this answer
Hint acknowledged. T-3 to answer accept. – Cris Stringfellow Feb 18 '13 at 9:50
still waiting... :-) – Andre de Miranda Feb 26 '13 at 10:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.