find next?

Richard Kimberly Heck rikiheck at lyx.org
Fri Feb 12 02:39:34 UTC 2021


On 2/11/21 9:38 PM, Richard Kimberly Heck wrote:
> On 2/11/21 8:21 PM, Paul A. Rubin wrote:
>> On 2/11/21 7:28 PM, David Pesetsky wrote:
>>> My Macintosh-educated fingers are used to ⌘-G for "find next" (used
>>> after using ⌘-F for "find").  Does Lyx have a "find next" function so
>>> I can duplicate this?
>>>
>>> I may be missing something in plain view, in which case, my apologies
>>> for wasting everyone's time — but I'm not finding it.
>>>
>>> -David
>> Cmd-F opens a dialog that stays open while you are searching. With
>> open, alt+N will do "find next" (as will clicking the Find Next button
>> in the dialog.
>>
>> If you want to repeat your last find operation after the dialog has
>> been closed, there is an LFUN that will do it: word-find. It takes an
>> argument (the search target), but if you omit the argument it repeats
>> the last find. Assuming cmd-G is not bound to anything useful in your
>> setup, you could bind it to word-find.
> In mac.bind, we have:
>
> #  +: "Command-G"                    # Find the next occurrence of the
> selection
> \bind "C-g"                          "word-find-forward"
>
> So that should work as you expect, David. I take it that it does not work?
>
> If you open Tools> Preferences> Editing> Shortcuts and type "word-find"
> in the "show key-bindings containing" field, what do you get?

PS On non-Mac systems, F3 is meant to do this.

Riki




More information about the lyx-users mailing list