When I mess up typing an uppercase letter, I usually hold Shift while pressing the Backspace. Instead of backspacing, it types ^?
(to my frustration).
Google tells me that ^?
is the "delete" character, but it has no effect from what I can see (I may be wrong).
I have seen stuff online for setting 'backspace'
but none for shift-'backspace'
, so I'm lost unfortunately. I have also tried doing :inoremap <S-BS> <BS>
, but that doesn't seem to be working either.
Please let me know
- how to solve this; or,
- why not to change this if it turns out to be something important; or,
- why it can't be done for some reason.
Edit: update to responses to u/D. Ben Knoble and u/Ralf
- OS: 18.04
- Terminal: MobaXterm
- Settings: result of
$TERM
is xterm - Vim Version: VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr 10 2018 21:31:58). Included patches: 1-1453
- Typing
<C-v><S-BS>
gives '^?' - Typing
<C-v><BS>
gives '^H'
<C-v><S-BS>
in a buffer (type the keys, not the literal text).<BS>
and<S-BS>
produce different key codes.