On 8月3日, 下午7时37分, George Potapov <[email protected]> wrote:
> Hello.
> I don't like bell and visual bell so I decided to switch it off in my vim.
> I looked it up in the documentation. It says:
>
> == cut ==
> When no beep or flash is wanted, use ":set vb t_vb=".
> == /cut ==
>
> All right. But there's a problem: this command works fine when entered from 
> keyboard, but when I put it into my ~/.vimrc it has no effect. Screen flashes 
> like regular visual bell.
> What to do?
>
> Version of vim is
> VIM - Vi IMproved 7.2 (2008 Aug 9, compiled May  4 2010 12:31:00)
> with GTK GUI
>
> --

In my system, I add these two lines into vimrc:

set noerrorbells novisualbell
autocmd VimEnter * set vb t_vb=

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to