I am using the terminal/console version of Vim. In insertmode, When I
press the backspace key, the character before the cursor is not erased. How do I configure Vim to do this? You have to make sure that Vim gets the correct keycode for the backpspace key. You can try using the command:
:fixdel
Make sure the TERM environment variable is set to the correct terminal name. You can try using the ‘stty’ command:
$ stty erase ^H
where, you have to enter the ^H character by pressing the CTRL-V key and then the CTRL-H key. Also check the value of your ‘backspace’ setting.
Read free Software Algorithms and Computer Science Books by CodeAhoy Learn.
Introduction to Recursion and Backtracking