lazloman wrote:
> After I do a search, the results remain highlighted. I've
> found I can clear the results doing this:
> :let @/ = ""
>
> But, upon restarting vim those search results are again
> highlighted. I found that using :nohlsearch in .vimrc
> prevents the old search results from being highlighted on
> startup, but I have to undo that to have my search
> highlighting re- enable.

I suggest you read all of the search tip because there is
useful info there. What you are looking for is covered in
the first "See also" tip where it mentions viminfo.
http://vim.wikia.com/wiki/Searching

John

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

Reply via email to