Friday, March 30, 2012

Re: 'au InsertEnter * noh' doesn't work

On 21:56 Fri 30 Mar , Unknown wrote:
> Hi everyone here, I'm just new to this mailing list.
> I want to automatically disable search highlight when entering insert
> mode, so I add the command in ~/.vimrc but it didn't work. Does anyone
> know what I did was wrong?
>
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php

I think you want to use
au InsertEnter * setl nohl

Best,
Marcin

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: