Sat Nov 17 01:00:55 CST 2001

Dealing with obnoxious beeping under Linux:

In Vim you can turn on a visual bell mode that flashes the screen instead of doing something audible and annoying. Just :set vb, which I stuck in my ~/.vimrc.

Bash, meanwhile, pays attention to a file called .inputrc, which I hadn't known existed. Here's mine:

set bell-style none
set show-all-if-ambiguous on

bell-style none turns off the bell. (I.e., the bloody obnoxious PC speaker beep.) show-all-if-ambiguous shows all possible completions for an ambiguous completion attempt. Seems more useful than the default.

tags: topics/vim

p1k3 / 2001 / 11 / 17