This question already has an answer here:
I am running Debian Jessie. I am using Xterm, though I would prefer an answer which works in a virtual terminal as well. Here, "backspace" is the key with the backwards arrow, two keys above the "enter" key on a typical US PC keyboard layout, if that is relevant.
I would like to have two separate shortcuts: "control+h" to move the cursor one character to the left (a modified vim keybinding of sorts) and "control-backspace" to delete the word before my cursor (traditionally the "control-w" functionality).
My problem is that I can only set one of those shortcuts in my .inputrc, because typing "control+backspace" is interpreted as if I had pressed control-h instead.
How can I separate these key's functionalities? I have read a lot of information on it but have only become more confused.