1、关闭tab键声音提示: /etc/inputrc 中 # 关闭可视和声音提示 set bell-style none 2、关闭vim中声音错误提示: :set vb t_vb= 转载于:https://my.oschina.net/stz/blog/726064