I wasn't involved in keycode mode nor do I use it. Off the top of my head, keycode works with 2 letter short cuts. But not all commands have a 2 letter shortcut to my knowledge.
I found these wiki pages about commands:
https://wiki.librecad.org/index.php?title=Commandshttps://wiki.librecad.org/index.php?title=A_short_manual_for_use_from_the_command_lineBoth sites show that li is a short cut for line, but rect has no 2 letter short cut.
So it's needed to add unique 2 letter shortcuts to all commands missing it.
This can't be done in local settings, must be programmed in source code.
Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution