set novisualbell
====
http://bluesea.chinaunix.com/space.php?uid=20263484&do=blog&id=110193
------------------------------------------------------------------------------------------------
vim的help中有这么一段:
Use visual bell instead of beeping. The terminal code to display the
visual bell is given with 't_vb'. When no beep or flash is wanted,
use ":set vb t_vb=".
Note: When the GUI starts, 't_vb' is reset to its default value. You
might want to set it again in your |gvimrc|.
In the GUI, 't_vb' defaults to "|f", which inverts the display
for 20 msec. If you want to use a different time, use "|40f",
where 40 is the time in msec.
Does not work on the Amiga, you always get a screen flash.
Also see 'errorbells'.
所以光是在.vimrc中set novisualbell还不行,gvimrc中还需要添加。
阅读(1369) | 评论(2) | 转发(0) |