I want to have a keyboard shortcut for “Find Next” and “Find Previous” (or “Search Next” and “Search Previous”, or “Repeat Search Forward” and “Repeat Search Backward” or whatever you want to call it) that works all the time.
The shortcuts F3 and Shift+F3 only work when the cursor is inside the search bar. The shortcut Ctrl+Shift+F (“Repeat Search”) only works in one direction, but I often want to go back to the previous occurrence. So neither of these work for me.
There is no “search previous” command, but I'm hoping to define one, and an actual “search next” to go with it, as macros and bind a key to those macros. Seems doable. I tried recording a macro around a call to “Repeat Search”, which sets up some parameters and calls
.uno:RepeatSearch, but I don't know how to make it go in a specific direction, if it's at all possible. I also tried recording a macro around pressing the ⇩ button in the search bar, but that hard-coded the search string, and I don't know how to make it use the parameters of the previous search.
How can I bind keys to “Find Next” and “Find Previous”, whether through a macro or otherwise? I need this at least in LibreOffice 18.104.22.168 on Linux.