New version of the patch.
Nicholas Marriott wrote:
> Hi
>
> Thanks for the diff,
>
> n retains the sense of the last search (repeats in the same direction), so
> this
> is to reverse the sense of the last search?
>
>> +if ((data->searchtype == WINDOW_COPY_SEARCHUP)
>> +
On Sun, Feb 07, 2010 at 02:28:06PM -0800, Micah Cowan wrote:
> Nicholas Marriott wrote:
> > Hi
> >
> > Thanks for the diff,
> >
> > n retains the sense of the last search (repeats in the same direction), so
> > this
> > is to reverse the sense of the last search?
>
> Well, it's to search in the
Nicholas Marriott wrote:
> Hi
>
> Thanks for the diff,
>
> n retains the sense of the last search (repeats in the same direction), so
> this
> is to reverse the sense of the last search?
Well, it's to search in the reverse of the last actually typed search.
So, if you searched up, n will contin
Hi
Thanks for the diff,
n retains the sense of the last search (repeats in the same direction), so this
is to reverse the sense of the last search?
> + if ((data->searchtype == WINDOW_COPY_SEARCHUP)
> + == (cmd == MODEKEYCOPY_SEARCHAGAIN))
This should
The attached patch bind "N" (both copy modes) to "search-reverse", a new
command that does the same as "search-again", but in the reverse of the
current direction (same as "N" normally does in the vi editor).
--
Micah J. Cowan
http://micah.cowan.name/
Index: mode-key.c
===