Thursday, August 11, 2011

Re: Avoid highlighting last search when restoring session

On 08/11/2011 05:29 PM, John Little wrote:
>
>
> On Aug 12, 4:41 am, AK<andrei....@gmail.com> wrote:
>> Hi, when I restore a session, vim always highlights last search.
>>
>> Why is it doing that and how can I avoid it?
>
> see :help 'viminfo', the h flag.
>
> Regards, John
>

I checked 'viminfo' and it had 'h' flag included. I removed
it, saved the session, and restarted from the session file,
but I still get the last search highlighted. I checked viminfo
and it no longer has the 'h' flag, so it's not being re-set
somewhere.

-ak

--
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: