I like having hlsearch
on, but find it annoying in insert mode. So I tried doing the following autocommand to disable it whenever I enter insert mode:
autocmd InsertEnter * nohlsearch
For whatever reason, this does not work. So that I could verify this wasn't a problem with my .vimrc
, I tried this after launching vim with
gvim -u NORC
Any help debugging this would be greatly appreciated! I'm using gvim version 7.4.1023 on windows.
* :no
?