Re: Move to a pattern without destroying the last search pattern?

2009-04-12 Thread Maxim Kim
On 12 апр, 14:25, Dennis Benzinger wrote: > Hi! > > Sometimes I want to move to a pattern without actually searching for it. > That is I don't want to destroy the last search pattern and I don't want > to change the hlsearch highlighting. > > Is there a command for this? > > If not, would somethi

Move to a pattern without destroying the last search pattern?

2009-04-12 Thread Dennis Benzinger
Hi! Sometimes I want to move to a pattern without actually searching for it. That is I don't want to destroy the last search pattern and I don't want to change the hlsearch highlighting. Is there a command for this? If not, would something like the following work: :let last_search_pattern = @/