disable bell in vim

Score
0
Vote Up
February 11, 2004 at 11:48:09 Pacific
Specs: linux redhat 9 and cygwin, enough

hello everyone.
the bell sound in vim annoys me.
how can I disable it?



Reply ↓  Report •


#1
Vote Down
Score
-2
Vote Up
heart_debian February 11, 2004 at 13:06:52 Pacific

You can stop the PC Speaker linux module from loading. I dunno what its called in Linux 2.4, in 2.6 it is "pcspkr.ko". A quick way to stop the PC speaker from working is to simply delete the module.

Reply ↓  Report •

#2
Vote Down
Score
10
Vote Up
February 11, 2004 at 18:33:40 Pacific

(Quoted from the vimdoc)
36.2. How do I disable the visual error flash and the error beep?

You can disable both the visual error flash and the error beep using the
following command:

:set visualbell t_vb=

For more information, read

:help 'visualbell'
:help 'errorbells'
:help t_vb

You might want to look up information on .vimrc so you can automatically do it.


Reply ↓  Report •

Reply to Message Icon Start New Discussion
Related Posts

« restoring the Linux boot ... problem with mandrake 9.2... »

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.

Ask the Community!
Describe your Problem
Example: Hard Drive Not Detected on My PC