> On Friday, March 30, 2012 10:16:46 AM UTC-5, coot_. wrote:
> >
> > I think you want to use
> > au InsertEnter * setl nohl
> >
>
> Normally yes, but 'hlsearch' is a global option, there is no local value.
>
> Also note 'hl' is shorthand for 'highlight' not 'hlsearch' as desired (you could use 'hls' though). This is one reason I always use full option names in scripts and only use shorthand interactively.
>
> --
> 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
Indeed you're right. Thanks,
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:
Post a Comment