关闭vim bell 响铃的方法

来源:互联网 发布:手机淘宝注册店铺步骤 编辑:程序博客网 时间:2024/06/06 17:46

国内的帖子太无语了,全都一样,还都没有

其实很简单:


Disable beep and flash with gvimrcEdit
Another method to disable beeping and flashing is to put a command into your vimrc to handle terminal Vim, and another command into your gvimrc to handle gvim. This works on Unix and Windows systems.
Put the following in vimrc:


set noeb vb t_vb=




Put the following in gvimrc:
set vb t_vb=


The gvimrc file is in the same directory as vimrc; see vimrc for the proper file name.


参考文章:

http://vim.wikia.com/wiki/Disable_beeping

原创粉丝点击