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.
buffer-bind-key(2), buffer-bind-unbound-key(3), global-bind-key(2), global-unbind-key(2), ml-bind-key(2), osd(2).
(c) Copyright JASSPA 1999
Last Modified: 1999/11/29
Generated On: 1999/12/01