How to: Stop Vim from blinking / Flashing

This one is for fellow Vim users. If you came here looking for this, then you are looking to turn of something called "Visual bell" in Vim.

A "visual bell" replaces the standard beep (like when you hit escape a few times) with flashing the Vim window. To stop this, do a:

:set novb

For the new-comers, you might want to hit the key a couple of times before you try the command above. For more details on this, try looking up the in-vim help by doing:

:help vb

Note that this will revert to its default setting when you start vim again. So, you might want to set this in your gvimrc file. For details, do:

:help gvimrc

Helpful links: