On 26/04/2014 8:15 p.m., Jürgen Spitzmüller wrote:
2014-04-26 2:50 GMT+02:00 aparsloe:
The Alt+A 1, etc. shortcuts for custom inset arguments are a real
boon. However, I note that a 'post' argument, following the main
argument, doesn't get a shortcut, which is a pity. Is this
oversight or are there technical reasons preventing the extension
of shortcuts to 'post' arguments?
It's just not implemented. You can create shortcuts via bindings to
"argument-insert post:1" etc. similar to the normal argument bindings
in menus.inc. Same for the 'item' argument.
Jürgen
Very belatedly, thank you. Of course you meant menus.bind (in the bind
folder in the LyX Resources folder). I have a custom inset with two post
arguments and have altered menus.bind by commenting out the first line
and adding the other two, then saving the changed file in my personal
LyX bind folder:
#\bind "M-a 9" "argument-insert 9"
\bind "M-a 0" "argument-insert post:1"
\bind "M-a 9" "argument-insert post:2"
The shortcuts are considerably more convenient than the mouse work
previously required.
Andrew