Question

I'm sorry, for some reason I'm having a lot of trouble figuring out how to map my backspace button to Ctrl+H in my vimrc file. I've looked a lot online, and haven't found anything that seems to work.

Any help is much appreciated.

Was it helpful?

Solution

You should check your terminal type, and set your $TERM to correct value. It's not a good idea to use map in vim to work around this issue.

OTHER TIPS

This worked for me:

:imap ^H <Left><Del>

So does:

:imap ^H <BS>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top