Table of Contents

Bash - Shortcut Key Character Sequence (keyseq)

About

This section describes just the value (keyseq) content used in the shortcut configuration through:

Basis

Sequence Description Describe the character produced when
C-k Control-K the k key is pressed while the Control key is depressed.
M-k Meta-K with Alt The Meta key (ALT) is depressed, and the k key is pressed. On keyboards with two keys labeled ALT (usually to either side of the space bar), the ALT on the left side is generally set to work as a Meta key.
M-k Meta-K without Alt Metafying the k key - ESC first, and then typing k.
M-C-k Meta-Control-k metafying C-k

Several keys have their own names. Specifically:

They all stand for themselves when seen in a text, or in an init file.

Management

Get

You can determine the character sequence emitted by a key by pressing Ctrl-v at the command line, then pressing the key you're interested in.

Example

Documentation / Reference