File foo has text:
This| is a line.
If I place the cursor at the |, hop into insert mode, and press backspace, nothing happens. If I type something, I can delete the things I’ve typed, but only back to where the insertion began. For example, if I place the cursor at the end of the line, and type word, I can delete word but can’t delete the . or anything to the left of it.
This is rather annoying. What vim setting does this?
Explanation
The ‘backspace’ setting controls this behavior.
From the help page:
Changing backspace behavior
Try adding the following to your
.vimrc:A short-hand version of the same command: