I have set up a few custom keyboard shortcuts in iTerm2 to easily move the cursor around with the arrow keys, but now I'd like to remap Ctrl+E to be Esc, Ctrl+E because Bash 4.2 no longer auto-expands variables using the Tab key.
I know I've done the first part correctly in choosing the keyboard shortcut to remap, but I don't understand how to look up the correct escape sequence (or hex codes) to send in the bottom section:
I reference they keyboard codes but that wasn't much help.
How can I remap this, and how can I look up the codes in the future? (No luck with Google)
@db - thanks. To save others trouble I also found a cool util Key Codes.app which can be used to find key codes: