On 01/23/2017 07:18 PM, Rich Shepard wrote:
Now I see why it's not working here. When I added that shortcut it was
written to ~/.lyx/bind/user.bind.
That is correct behavior.
I copied it to my.bind (a modified
emacs.bind), reconfigured lyx, and restarted it.
In the old days, I believe custom bindings had to be in the same bind
file with the regular bindings (meaning you had to hack emacs.bind and
put the hacked version in your local bind directory). Apparently that
changed somewhere along the line. Regardless of which bind file you
select, LyX adds anything it finds in ~/.lyx/bind/user.bind to the
standard bindings. You're not supposed to edit user.bind manually,
either; it gets generated automatically by LyX.
So there shouldn't be any need to copy the binding to your customized
my.bind file ... or at least I don't think there should be.
Strangely enough, it still doesn't work here.
You're not near Washington D.C., are you? The laws of, well, pretty much
everything seem to fail somewhere near their event horizon.
Two things to check (after making sure the binding is in user.bind).
First, if you go into Tools > Preferences and search for
ctrl+alt+return, do you see the binding (in bold face) listed? If not,
there's a problem with LyX finding the user.bind file.
If yes, open a Beamer file (making sure it's not read-only), park your
cursor someplace where it would not be horribly illegal to start a new
frame, use alt-x to open the command buffer, type 'call newframe' in it
(no quotes) and whack return. If that starts a new frame, at least LyX
is understanding the command. If not, something truly weird is happening.
Paul