Where do I find a list of terminal key codes to remap shortcuts in bash?
70
votes
5
answers
47782
views
For example:
"\e[1;5C"
"\e[Z"
"\e-1\C-i"
I only know bits and pieces, like \e
stands for escape and C-
for Ctrl, but what are these numbers (1
) and letters (Z
)? What are the ;
, [
and -
signs for?
Is there only trial and error, or is there a complete list of bash key codes and an explanation of their syntax?
Asked by bug
(2698 rep)
May 21, 2013, 10:25 AM
Last activity: May 14, 2025, 06:58 PM
Last activity: May 14, 2025, 06:58 PM