osd-bind-key - Create key binding for OSD dialog
osd-unbind-key - Remove key binding from OSD dialog
osd-bind-key n "command" "key"
osd-unbind-key n "key"
osd-bind-key creates a local key binding for a given osd dialog, binding the command command to the keyboard input key. Only the current root dialog's local bindings are used, local bindings of included dialogs or other root dialogs currently displayed are ignored.
Osd local bindings take priority over default osd bindings, local bindings created using ml-bind-key(2) are also used, but any current buffer local bindings created using buffer-bind-key(2) are ignored.
The prefix commands cannot be rebound with this command.
Key response time linearly increases with each osd binding added.
As only the root dialog's bindings are used, creating note-book page specific bindings can be awkward. Typically all required keys are bound to the same command which, depending on the page that is currently being displayed, checks if the key pressed is bound on the current page and if so calls the required command. See organizer(3), defined in organize.emf for an example of this operation.
Copyright (c) 1998-2006 JASSPA
Last Modified: 2002/01/11
Generated On: 2006/10/07