How to disable Vim bells sounds?

前端 未结 6 697
一整个雨季
一整个雨季 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:30

    To disable visual bell in Visual Studio 2019 with VsVim extension:

    VsVim detects the presence of _vimrc, so add the following to it:

    C:\Users\YourName\_vimrc

    set vb t_vb=
    

    Setting other options like errorbells or beloff had no effect in VsVim.

提交回复
热议问题