I want to bind terminal behavior to hotkeys without having to define escape sequences.
I understand readline binds to characters instead of actual key presses. Can it also bind to the lower level virtual keys? e.g. so I can use CTRL
+LEFT_ARROW
instead of whatever ascii escape sequence (^[^[D
) my current terminal uses.
How can I achieve this behavior (doesn't have to be readline). I don't use X, just the Linux console and terminal text editors.
TERM=linux
console that does this. – jiggunjer Feb 27 '17 at 06:47