How to disable Vim bells sounds?

前端 未结 6 704
一整个雨季
一整个雨季 2021-02-01 12:30

I am trying to disable the error bells on vim, both visual and audio. However I cannot get them to stay off.

I have the following in my vimrc:



        
6条回答
  •  名媛妹妹
    2021-02-01 13:36

    For me with gVim it works if I put

    set noerrorbells
    set vb t_vb=
    

    in ~/.gvimrc, not ~/.vimrc.

提交回复
热议问题