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'
<< 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.
|
|