Does vim set a special mark or have a command to jump
to the position where a search was last initiated?

Example,

I have
bar<cursor>
foo
foo
foo
foo

and I search for "foo", and I press "n" four times.
My cursor will be on the last "foo".  Is there a mark
or command that will take me back to "bar"?

I've searched the help for :marks but couldn't find anything related to search.
I know I can press C-o repeatedly.  I also know about the :jumps
command, but I was wondering
if there is a one-command way of jumping to the place where you
last initiated a search.

Thanks,
--Nate

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