Linux in a Nutshell, Third Edition
by Ellen Siever, Stephen Spainhour, Jessica P. Hekman, Stephen Figgins
Name
bindkey
Synopsis
bindkey [options] [key] [command]
Description
tcsh only. Display all key bindings, or bind a key to a command.
Options
- -a
List standard and alternate key bindings.
- -b key
Expect key to be one of the following: a control character (in hat notation—e.g., ^B—or C notation—e.g., C-B); a metacharacter (e.g., M-B); a function key (e.g., F-string); or an extended prefix key (e.g., X-B).
- -c command
Interpret command as a shell, not editor, command.
- -d key
Bind key to its original binding.
- -e
Bind to standard Emacs bindings.
- -k key
Expect key to refer to an arrow (left, right, up, or down).
- -l
List and describe all editor commands.
- -r key
Completely unbind key.
- -s
Interpret command as a literal string and treat as terminal input.
- -u
Print usage message.
- -v
Bind to standard vi bindings.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access