Friday 16 October 2009

Disabling terminal bell in bash and vim

The terminal bell sound generated in bash and vim is rather annoying to myself and is an audible alert to my colleagues that I'm typing badly too. So how does one disable it?

Open ~/.inputrc and add the following line:

set bell-style none

To disable the bell in the vim editor, edit ~/.vimrc and add the following line:

set vb

Ah - silence again! That's one less distraction to contend with!

1 comment:

  1. setterm -blength 0
    xset b off

    OR

    unplug-the-speaker-in-a-desktop-when-none-is-looking

    You can tell I hate those beeps, can't you?

    ReplyDelete