Before you mark this question as a double, hear me out because I've looked around and I can't find anything that'll fix my issue.
In Vim for Windows (accessed through Powershell running from CMD in a console), backspace works fine. Pressing Shift (or Ctrl) + Backspace prints a weird looking I to the screen and presses Ctrl+C.
Using :set to see what the keycode for the backspace is on my Vim yields this: "Î^Cx". This makes sense considering the behavior described above. The interesting part is that this keycode obviously is for the normal backspace key. My problem however, doesn't appear when pressing backspace normally, which doesn't make sense to me considering that the normal keycode is this weird collection of characters. It only appears when combining backspace with the shift key.
I don't understand why the backspace key doesn't send ^H or ^?. I've heard that those two options are popular. I assume my terminal is messing this up in some way, but I don't understand why it would be sending a different keycode for backspace when the shift key is pressed.
Thanks in advance.
Shift+Backspace
is not supposed to do anything in Vim, where it is indistinguishable fromBackspace
. So I'm asking again, a bit differently: why are you pressingShift+Backspace
to begin with? As for the other question, if you have the desired behaviour in other contexts, then it means that the undesired behaviour is caused by something in your current context and the right course of action is to bisect your setup. Also, it is pretty obvious that, in this specific context, Vim is receiving unexpected input.