Jim Osborn wrote:

> Is there a way to invoke the function of the Search->"Find_Next"
> button from the LyX keyboard?  The "N" in the Search popup is
> underlined, and if the focus is in that popup, pressing M-n does
> indeed Find_Next, but I haven't found a way to do it from within the
> LyX edit screen.  I'd like to jump from instance to instance of my
> search string, maybe editing a bit around it, but staying completely
> on the keyboard.  Moving the mouse over to the Search popup every
> instance sort of defeats that strategy.
> 
> I searched for "find-next", "find-again", "search-again" (what my
> emacs uses for that function) in all the bind files in my LyX,
> but don't find a lyx-function to bind to a key.

"M-x word-find-forward"
"M-x word-find-backward"

should work. "M-x" activates the minibuffer at the bottom of the LtX 
window, allowing you to type "word-find-forward". <Return> posts this 
request off...

Bind it the key of your choice.

> Also, if I can bind Find_Next, what's the function for Replace?

I believe that there isn't such an LFUN in LyX 1.3.x. There isn't in 
1.4.x. either, but tht's on my todo list.

> A second question is: how can I get a list of all the bindable
> lyx-functions?

The best I can suggest is read LyXAction.C from the LyX sources or, 
equivalently, have a look at Christian's attempts to document these 
here:

http://wiki.lyx.org/pmwiki.php/Devel/LFUNs

>  So far, I've resorted to grepping the bind files,
> but I bet there are some that don't appear in any of those.  The
> Wikis are pretty good at listing the various keys, but I couldn't
> find a lyx-functions list.

Search for "lfun", which is what we call them.

-- 
Angus

Reply via email to