buffer-bind-key - Create local key binding for current buffer
buffer-unbind-key - Remove local key binding for current buffer
n buffer-bind-key "command" "key"
n buffer-unbind-key "key"
buffer-bind-key creates a key binding local to the current buffer, binding the command command to the keyboard input key. This command is particularly useful in conjunction with file loading hooks (see add-file-hook(2)) allowing local key bindings dependent upon the context of the buffer.
The message line input is not effected by the current buffers local bindings.
buffer-unbind-key unbinds a user created local key binding, this command effects only the current buffer. If a negative argument is given to buffer-unbind-key then all the current buffer's bindings are removed.
The prefix commands cannot be rebound with this command.
Key response time linearly increases with each local binding added.
Copyright (c) 1998-2006 JASSPA
Last Modified: 2006/07/28
Generated On: 2006/10/07