Thank you, I'll look more thoroughly next time. --"My break-dancing days are over, but there's always the funky chicken" The Full Monty
On Mar 14, 2011, at 4:48 PM, "John Beckett" <[email protected]> wrote: > 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 -- 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
