My Linux account in a remote machine comes with the following pre-defined .inputrc
"\e[1~": beginning-of-line
"\e[4~": end-of-line
“\e[5~”: history-search-backward
“\e[6~”: history-search-forward
"\e[3~": delete-char
"\e[2~": quoted-insert
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word
set completion-ignore-case on
set bell-style visible
set expand-tilde on
set convert-meta off
set input-meta on
set output-meta on
set show-all-if-ambiguous on
set visible-stats on
I am reading the GNU bash documentation on the topic, but I haven't been able to find a section explaining what the character sequences \e[1~, \e[5C, \e\e[D, etc. mean.
I think I read somewhere that \e means the meta character (which I think is Alt in my keyboard), but don't understand what the other control characters [, ~, 5D etc. mean.
Anybody knows of a good reference on the topic?