I am using LyX 2.0.6 on my macbook and would like to define a few custom shortcuts to make my life easier. In particular, I'd like to add the following command:
controlfa should insert an algorithm float.
LyX is installed in
/Applications and uses
/Applications/LyX/Contents/Resources/bin/mac.bind as it's keyboard shortcuts config file
So I looked at the syntax in in there and came up with the following
# Command - C # Option - A # Control - M # Shift - S Format 1 \bind "C-S-r" "dialog-show-new-inset ref" \bind "C-A-c" "citation insert" \bind "C-A-t" "citation insert" \bind "M-f ~S-a" "float-insert algorithm" \bind "M-f ~S-f" "float-insert figure" \bind "M-f ~S-t" "float-insert table"
Now, this custom.bind lives at
~/.config/LyX/custom.bind, so I added the following line to my
But I am unable to use the float command that I have defined in
custom.bind. Thinking that this was an error in my syntax, I copied that line into
menus.bind (and changed the bind file in LyX) and it did indeed work.
So why don't the commands in my custom.bind work?
- mac OSX 10.9.4 (Mavericks)
- LyX 2.0.6