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.

2 Answers 2


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. Jun 17, 2014 at 16:28
  • 7
    on windows (7) it is _ideavimrc instead of .ideavimrc in your C:\Users\<username>\ folder
    – Chris
    Mar 11, 2019 at 21:04
  • 3
    Peace (and quiet) be with you. Jan 6, 2021 at 22:02
  • 2
    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, 2021 at 16:35
  • 1
    Windows folks - don't forget to remove the .txt from the end of your _ideavimrc file, like I did. Apr 29, 2021 at 19:57

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, 2019 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, 2020 at 18:16
  • It did for me with macOS 12.1 (Monterey) and PyCharm 2021.3
    – leafmeal
    Dec 27, 2021 at 22:11

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.