Keyboard binding allows key strokes to be associated with commands and macros such that when a bound key stroke sequence is recognized its associated (or bound) command is invoked, thereby controlling the editor. A set of Default Bindings exist for MicroEmacs which may be altered using the binding commands. There are three types of key bindings:
To bind a command to a key, the command and key names must be known, see Command Glossary for a complete list of commands and Key Names for a complete list of key names.
The binding related commands are defined as follows:
buffer-bind-key(2) Create local key binding for current buffer
buffer-unbind-key(2) Remove local key binding for current buffer
command-apropos(2) (C-h a) List commands involving a concept
describe-bindings(2) (C-h b) Show current command/key binding
describe-key(2) (C-x ?) Report keyboard key name and binding
expand-iso-accents(3) Expand an ISO accent
global-bind-key(2) (esc k) Bind a key to a named command or macro
global-unbind-key(2) (esc C-k) Unbind a key from a named command or macro
iso-accents-mode(3) ISO accent expansion short-cut mode
ml-bind-key(2) Create key binding for message line
ml-unbind-key(2) Remove key binding from message line
osd-bind-key(2) Create key binding for OSD dialog
osd-unbind-key(2) Remove key binding from OSD dialog
set-char-mask(2) Set character word mask
translate-key(2) Translate key
The Alt Key has special binding priorities defined as follows:-
If the ALT key is to be used strictly as the Emacs Meta key then the bindings for the menu should be over-ridden by Direct Key Bindings from the user configuration file i.e. to re-map the default MicroEmacs Alt key to equivalent esc keys then the following keys should be re-bound.
global-bind-key forward-word "A-f" ; Over-ride File menu binding : ; For all of the other menu items. : global-bind-key backward-word "A-b" ; Over-ride the file browser. global-bind-key replace-string "A-r" ; Over-ride tools binding.
This creates a higher priority binding which overrides the underlying default. The commands that are displaced would have to be re-bound to different keys if required.
Copyright (c) 1998-2006 JASSPA
Last Modified: 2006/10/06
Generated On: 2006/10/07