|
Home > Archive > Linux Debian support > July 2007 > stop beep in vi
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| tim braun 2007-07-19, 7:13 pm |
| dear debian gurus,
how can stop that beeb whenever i enter a wrong command in vi ?
thanx alot
tim
| |
| sk8r-365 2007-07-19, 7:13 pm |
| Government satellites recorded tim braun saying:
> dear debian gurus,
> how can stop that beeb whenever i enter a wrong command in vi ?
>
Smart XXX answer - stop screwing up.
More likely the reply you need ...
from the manual:
"5.3 How can I keep Vim from beeping all the time?
Well, you can use ``set noerrorbells" but it does not turn off the bell for
all cases. It only makes a difference for error messages; the bell will be
always be used for a lot of errors without a message (e.g., hitting <Esc> in
Normal mode).
If you want Vim to stop beeping then all you need is ``:set vb'' which tries
to do a screen flash rather than an audible beep. Some terminals can't do
screen flashes, but if yours does and you don't want it to flash or beep
then use ``:set vb t_vb=''."
or
(haven't tried this, put the following in your .vimrc)
set noerrorbells
set visualbells
set t_vb=
--
sk8r-365
http://goodbye-microsoft.com/
| |
| Felix M. Palmen 2007-07-19, 7:13 pm |
| * sk8r-365 <sk8r-365@sk8r.debian.etch.invalid.org>:
> Government satellites recorded tim braun saying:
> from the manual:
> "5.3 How can I keep Vim from beeping all the time?
[...]
just an unsolicited advice to consider:
this beep prevents you from typing stuff in command mode, at least after
a few characters -- this was sometimes helpful to me 
regards, Felix
--
Felix M. Palmen (Zirias) \ -PGP- <fmp@palmen.homeip.net> /"\ ASCII Ribbon
web: http://zirias.ath.cx/ \ http://zirias.ath.cx/pub.txt \ / Campaign
my Open Source projects: \ FP ED9B 62D0 BE39 32F9 2488 X Against HTML In
http://zirias.ath.cx/?pg=pro \ 5D0C 8177 9D80 5ECF F683 / \ Mail And News
| |
| sk8r-365 2007-07-19, 7:13 pm |
| Government satellites recorded Felix M. Palmen saying:
> just an unsolicited advice to consider:
>
> this beep prevents you from typing stuff in command mode, at least after
> a few characters -- this was sometimes helpful to me 
I appreciate the "helping hand" myself ... I goof up and so do
the dev people who added that handy little helper. Yet, OP seems to
find the beep a bit too insistent ;)
--
sk8r-365
http://goodbye-microsoft.com/
| |
| Mumia W. 2007-07-19, 7:13 pm |
| On 07/19/2007 03:09 PM, tim braun wrote:
> dear debian gurus,
> how can stop that beeb whenever i enter a wrong command in vi ?
>
> thanx alot
> tim
>
:set vb
That gets you a visual bell (flashing screen). If you want to stop the
screen from flashing, try this:
:set t_vb=
I'm assuming that your question is actually about vim rather than the
old vi.
| |
| tim braun 2007-07-20, 7:14 pm |
| On 20 Jul., 00:42, "Mumia W." <paduille.4061.mumia.w
+nos...@earthlink.net> wrote:
> On 07/19/2007 03:09 PM, tim braun wrote:
>
>
>
> :set vb
>
> That gets you a visual bell (flashing screen). If you want to stop the
> screen from flashing, try this:
>
> :set t_vb=
>
> I'm assuming that your question is actually about vim rather than the
> old vi.
thank you for your hints.
tim
|
|
|
|
|