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.

Comments (1)


Pepsh Pepshinsky

Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE


Speak Your Mind