How do you disable the bell sound in Intellij.

I am using the IdeaVim plugin for Intellij on Mac OS X and want to mute the sound.


This article may help you.

Basically, IdeaVIM reads your ~/.ideavimrc (~/.vimrc pre-v0.35) file and silently ignores any settings it does not understand. Of the bell-related settings, it does not understand :set noerrorbells, but it does understand :set visualbell. And since it has no implementation for a visual bell, it will do nothing and achieve the desired effect.

So in your ~/.ideavimrc, you can use the following:

set visualbell
set noerrorbells

This will set the (non-functional) visual bell for IdeaVIM while disabling the bell completely for VIM itself.

  • 1
    Note that as of v0.35, IdeaVIM no longer uses the ~/.vimrc, it now uses ~/.ideavimrc. – Andrew Lank Jun 17 '14 at 16:28
  • This is not working for me in IntelliJ 2018.2 and IdeaVim 0.50 on Windows 10 – Michael Dorst Nov 5 '18 at 3:32
  • 4
    on windows (7) it is _ideavimrc instead of .ideavimrc in your C:\Users\<username>\ folder – Chris Mar 11 '19 at 21:04
  • Peace (and quiet) be with you. – Joshua Pinter Jan 6 at 22:02
  • 1
    after doing this, I was about to lose hope, but I just had to restart all of the open IntelliJ windows I had – emmagras Jan 11 at 16:35

I wanted to disable the Bell sound throughout all of my Mac, including AppCode. Did this by sliding Alert Volume to 0 in System Settings > Sound on my Mac

  • Blissful peace! Thanks :) – levacjeep Aug 29 '19 at 15:47
  • 2
    An update for those who find this post five years later like I did. Unfortunately, system sound settings doesn't control this bell for Macos Catalina and Intellij 2020.2. Adding set noerrorbells and set visualbell in ~/.ideavimrc does still work. – Shawn Dec 7 '20 at 18:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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