I've recently started using Vim. From previous editors, I'm used to deleting a whole word by pressing Ctrl-Backspace. After looking at the documentation I found that this was done by pressing Ctrl-w in Vim. The problem is that after getting used to pressing Ctrl-w, I've started closing tabs and chats every time I misspell a word (while writing this question I closed this tab 5 times). So I checked how to map keys in Vim and tried this:
:imap <C-BS> <C-w>
Unfortunately, it didn't work. After a bit of research I found that the terminal does not distinguish between Ctrl-Backspace and Backspace. I saw some hacks and patches to fix this issue, but I couldn't get them to work on terminator (which is the emulator I want to use).
Is there any way to map Ctrl-Backspace in Vim when using terminator?