George B.
George B.

Reputation: 595

VIM 8.2 Backspace Delete behavior

I uninstalled vim 8.1 which is the available version through my package manager and installed 8.2 from source. But Backspace and Delete buttons behave in a different way in this version.

If you are in insert mode and press Backspace then it does not delete or move indentation to the left. Delete button in insert mode deletes up to the end of the current line and does not continue to the next one.

Why these changes in behavior and how do I revert to the previous one?

Upvotes: 2

Views: 148

Answers (1)

George B.
George B.

Reputation: 595

I looked at the docs. You need to set:

set backspace=indent,eol,start

My previous installation was vim-gtk. I suppose this package has this value set as default.

Now both backspace and delete work as before.

Upvotes: 1

Related Questions