Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot delete indents nor past insertion point

Tags:

vim

When I enter insert mode, vim will not allow deleting text behind where I entered insert. Also when I use auto indent, I cannot delete the indentations that get automatically created.

I've tried a blank vimrc and even tried my own version of vim compiled from source. How can I delete properly in vim?

like image 569
Alex Avatar asked Oct 24 '10 01:10

Alex


2 Answers

Are you attempting to delete them using backspace? Try :set backspace=indent,eol,start

By default you can't backspace over auto-indentation, previous edits or line breaks.

like image 189
Alligator Avatar answered Oct 29 '22 05:10

Alligator


Try :set nocompatible

like image 36
DigitalRoss Avatar answered Oct 29 '22 06:10

DigitalRoss