Saturday, June 1, 2013

search with offset

Dear Vim Use,

Do you know how to repeat vim search preserving the offset. For example
/hello/;?Mark?
the n and N commands seems to forget about the offset, well actually
they forget about the patter and remember only the offset. I would like
to repeat the whole search with offset though. The question is if you
know a plugin that does it, if not I can implement it myself. I have
found that vim remembers the whole search pattern+offset in the search
history (:h :histget()).

Best regards,
Marcin

--
--
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 because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment