In insert mode I want Backspace to delete the characters to the left of my cursor but it's acting just like Del and removing characters under my cursor. I saw somewhere I can use
ctrl-k then a key to see what VIM thinks that key is. For Backspace it's returning
<Del> and for Del it's returning
<kDel>. How can I get my Backspace key to map to
<BS> like it should be? In bash Backspace is operating normally without me making any special changes.
In PuTTY Backspace is set to
EDIT: I tested vim with the
ctrl-h backspace setting and vim started working properly.. However I would prefer to leave that PuTTY setting alone unless someone can convince me switching to
ctrl-h is what I should do, I don't know much about why there are different key codes for backspace and maybe I'd be less hesitant to switch the default PuTTY setting if I knew more.