Search code examples
vimkeymapping

Overriding Ctrl+H in vim


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.


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.