On 1/17/19 2:24 PM, Jack Lyon wrote:
I'm using a customized user.bind file with LyX to remap keyboard shortcuts to LyX functions (LFuns), but when I try to use any of the keyboard shortcuts, LyX reports "Unknown function." Thanks for any help you're able to give. Here is the contents of my user.bind file:

# Unbind defaults
\unbind "F2" "buffer-write"
\unbind "F5" "screen-recenter"
\unbind "F7" "dialog-show spellchecker"
\unbind "F9" "meta-prefix"
\unbind "F11" "ui-toggle fullscreen"
\unbind "C-i" "next-inset-toggle"
\unbind "C-u" "font-underline"

# Editing
\bind "F2" "command-sequence changes-track"
\bind "F4" "command-sequence change-reject"
\bind "F5" "command-sequence drop-layouts-choice"
\bind "F6" "command-sequence font-noun"
\bind "F7" "command-sequence font-emph"
\bind "F8" "command-sequence word-select; font-emph; word-forward"
\bind "F9" "command-sequence word-select; word-lowcase; word-capitalize; word-forward"
\bind "F10" "command-sequence word-select; word-lowcase; word-forward"
\bind "F11" "command-sequence word-select; char-right-select; cut; word-backward; clipboard-paste; escape"
\bind "F12" "command-sequence chars-transpose; char-left"

Your file works fine for me (LyX 2.3.2, Linux Mint 18.3). What version of LyX are you using, what OS (probably doesn't matter, but you never know), and have you used this file successfully in the past?

Paul

Reply via email to