sponsor Vim development Vim logo Vim Book Ad

basic Tip #17: Erasing previosuly entered characters in insert mode

 tip karma   Rating 95/42, Viewed by 3090 

Read and edit this tip on the Vim tip wiki. The wiki may have a more recent version of this tip.

created:   February 24, 2001 18:04      complexity:   basic
author:   Yegappan      as of Vim:   5.7


In insert mode, to erase previously entered characters, set the
following option:

        set backspace=2

By default, this option is empty.  If this option is empty, in
insert mode, you can not erase characters entered before this
insert mode started.  This is the standard Vi behavior.

To get more help on this, use

:help 'backspace'

 rate this tip  Life Changing Helpful Unfulfilling 

<< Avoiding the "Hit ENTER to continue" prompts | Cleanup your HTML >>

Additional Notes

[email protected], May 26, 2001 22:59
a convenient and oldly memorable abbreviation is

  :set bs=2
frioux [~(a@@@t)~] gmail (dot) com, April 26, 2006 14:33
This is a good one that makes things work how you want.  Good call.
If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to [email protected] after searching the archive. Help Bram help Uganda.
   
Sponsored by Web Concept Group Inc. SourceForge.net Logo