This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
12 Replies Last post: Jul 6, 2013 11:02 PM by Aziz Light  
Aziz Light Newbie 30 posts since
Mar 15, 2013
Currently Being Moderated

Jul 3, 2013 6:45 PM

How to disable completely audible beeps?

Hi,

 

I am using the IdeaVim plugin. When I am in normal mode and I press the Esc key, there is a very annoying audible beep. How can I disable all beeps please?

Andrey Vlasovskikh Newbie 20 posts since
Jul 19, 2011
Currently Being Moderated
Jul 6, 2013 11:04 AM in response to: Aziz Light
Re: How to disable completely audible beeps?

You should put "set visualbell" to your ~/.vimrc file, see ":help visualbell".

Andrey Vlasovskikh Newbie 20 posts since
Jul 19, 2011
Currently Being Moderated
Jul 6, 2013 8:04 PM in response to: Aziz Light
Re: How to disable completely audible beeps?

Check that IdeaVim has found and parsed your .vimrc. Run ":set" in the normal mode, you should see "visualbell" there if it's set. Try ":set visualbell" in the normal mode. It should work for the current session.

Andrey Vlasovskikh Newbie 20 posts since
Jul 19, 2011
Currently Being Moderated
Jul 6, 2013 8:31 PM in response to: Aziz Light
Re: How to disable completely audible beeps?

What's your OS and where is your .vimrc located on the file system?

Andrey Vlasovskikh Newbie 20 posts since
Jul 19, 2011
Currently Being Moderated
Jul 6, 2013 9:22 PM in response to: Aziz Light
Re: How to disable completely audible beeps?

Please paste an excerpt from your .vimrc where you define 'visualbell'.

Andrey Vlasovskikh Newbie 20 posts since
Jul 19, 2011
Currently Being Moderated
Jul 6, 2013 9:31 PM in response to: Aziz Light
Re: How to disable completely audible beeps?

Why do you think so? Try setting hlsearch or ignorecase in .vimrc, for example. You should see them in the output of ":set".

 

Also note that IdeaVim is able to process only the top-level 'set' declarations in .vimrc.

Andrey Vlasovskikh Newbie 20 posts since
Jul 19, 2011
Currently Being Moderated
Jul 6, 2013 10:00 PM in response to: Aziz Light
Re: How to disable completely audible beeps?

Actually you should put exactly this text on a single line:

 

set visualbell

 

because many syntax constructs are not supported.

 

(If you are interested in the .vimrc parsing details, here is the source code).

More Like This

  • Retrieving data ...