I would like to add a keyboard shortcut in iTerm2 for an action that is not displayed in the "Action" dropdown, in Preferences > Keys > + in iTerm2.
The action I want is "delete a word before cursor" and "delete a word after cursor".
Notes:
I know there is a shortcut (Ctrl+U/K) for those actions, but I want to replace them for another shortcut.
There is an option in the "Action" dropdown which consists in sending an hexadecimal code corresponding to an action. But how do I know which hexa code means that specific action? Is there any hexa-action mapping for me to able to do that?