<div dir="ltr"><div>Perfect! Now what do I do with my evening? :)<br></div>-deech<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 3, 2013 at 5:51 PM, Michael Markert <span dir="ltr"><<a href="mailto:markert.michael@gmail.com" target="_blank">markert.michael@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Sat, May 04 2013 (00:12), Barry OReilly <<a href="mailto:gundaetiapo@gmail.com">gundaetiapo@gmail.com</a>> wrote:<br>
<br>
> On Fri, May 3, 2013 at 4:00 PM, aditya siram <<a href="mailto:aditya.siram@gmail.com">aditya.siram@gmail.com</a>> wrote:<br>
><br>
>> I'm working on a patch to evil where searching for a word with '/' allows<br>
>> me to stop at a partial match.<br>
>><br>
>> For example, given:<br>
>> "The wor^d I am looking for is abcd".<br>
>> where '^' represents point, if I type '/' 'abce', 'abc' is highlighted.<br>
>> When I hit RETURN or C-g I want point to go to the beginning of that<br>
>> partial match and not jump back to where my search started.<br>
>><br>
><br>
> It sounds like the wrong behavior to me, because "abce" doesn't match<br>
> "abc". I probably misunderstood you.<br>
<br>
</div></div>No it does not match, but Isearch (and therefore the current default<br>
search of evil) stops here if "abce" does not occur in the buffer<br>
because it matched the previous input "abc".<br>
<br>
I liked the idea so I put it into my config:<br>
<a href="https://github.com/cofi/dotfiles/commit/13bca2e2503653fb0137a4216535d4505c3cb100" target="_blank">https://github.com/cofi/dotfiles/commit/13bca2e2503653fb0137a4216535d4505c3cb100</a><br>
<br>
(Popping the mark returns to start, as usual, so C-o or C-x C-SPC)<br>
<br>
BUT I don't think RET or even C-g are a good choice for keys. And then<br>
I'm unsure if it should be included into evil.<br>
<span class="HOEnZb"><font color="#888888"><br>
Michael<br>
</font></span><br>_______________________________________________<br>
implementations-list mailing list<br>
<a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a><br>
<a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list</a><br>
<br></blockquote></div><br></div>