stop beep in vi
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > stop beep in vi




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    stop beep in vi  
tim braun


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-20-07 12:13 AM

dear debian gurus,
how can stop that beeb whenever i enter a wrong command in vi ?

thanx alot
tim






[ Post a follow-up to this message ]



    Re: stop beep in vi  
sk8r-365


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-20-07 12:13 AM

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/





[ Post a follow-up to this message ]



    Re: stop beep in vi  
Felix M. Palmen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-20-07 12:13 AM

* 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  Ribbo
n
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 New
s





[ Post a follow-up to this message ]



    Re: stop beep in vi  
sk8r-365


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-20-07 12:13 AM

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/





[ Post a follow-up to this message ]



    Re: stop beep in vi  
Mumia W.


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-20-07 12:13 AM

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.






[ Post a follow-up to this message ]



    Re: stop beep in vi  
tim braun


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-21-07 12:14 AM

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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:11 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register