In GNU readline manual, it says the left Alt is usually Meta:
The Meta key is labeled ALT on many keyboards. 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.
But by experiment, I think the left Alt is actually ESC, rather than Meta. That's because, given the following inputrc configuration:
"\eB": vi-bWord
Pressing AltShiftb works as expected.
However if I change the key binding to the following:
"\M-B": vi-bWord
Pressing AltShiftb does nothing.
I'm wondering why Alt is actually ESC instead of Meta? How to change Alt to act as Meta key?