Hi Christian, On 2015-02-10, Christian Brabandt wrote:
> On Di, 10 Feb 2015, Gary Johnson wrote: > > I thought there was a precedent for advancing the cursor to the next > > match if it would otherwise get stuck in some pattern loop, but I > > can't think of exactly what it was. There is a precedent for > > ; for when the 't' was used? Maybe. That one doesn't ring a bell, though. > Here is a patch, that makes 'n'/'N' check, whether the cursor moved and > if not, retry with an incremented count. That works for your particular > case. That won't help for the case of the cursor being on the last > character of a buffer and typing /(/e+1 > But pressing n afterwards should work. I built it on two machines and after a little testing, it seems to work fine. Thanks! Regards, Gary -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
