Backspace key not working in vim

8

2

I am using vim under Terminal.app and just a few days ago the backspace key stopped working. Whenever I am in insert mode, the backspace key does nothing.

However, when I am in normal mode, the backspace key moves the cursor back a character. In visual mode, the backspace key deletes selected text.

My .vimrc.

Is there any way to get the backspace key working in insert mode again?

Wuffers

Posted 2010-10-24T14:15:34.447

Reputation: 16 645

Answers

11

If you didn't change anything, it's odd that it was working and now isn't. That aside, I normally add this to get the most out of the backspace key with Vim:

set bs=indent,eol,start     " Backspace over everything in insert mode

Telemachus

Posted 2010-10-24T14:15:34.447

Reputation: 5 695