No edit summary |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{TipImported |
||
− | {{Tip |
||
|id=17 |
|id=17 |
||
+ | |previous=16 |
||
− | |title=Erasing previosuly entered characters in insert mode |
||
+ | |next=18 |
||
− | |created=February 24, 2001 |
+ | |created=February 24, 2001 |
|complexity=basic |
|complexity=basic |
||
|author=Yegappan |
|author=Yegappan |
||
|version=5.7 |
|version=5.7 |
||
|rating=94/41 |
|rating=94/41 |
||
+ | |category1=Options |
||
− | |text= |
||
+ | |category2= |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
+ | Or: |
||
⚫ | |||
− | |||
− | 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 |
||
− | |||
⚫ | |||
− | |||
⚫ | |||
+ | :set backspace=2 |
||
⚫ | |||
− | a convenient and oldly memorable abbreviation is |
||
+ | By default this option is empty, not allowing you to backspace over characters that weren't entered during the current insert mode session, the automatically inserted indentation, or across line breaks. This is the standard vi behavior. |
||
⚫ | |||
+ | ==References== |
||
− | jsuntheimer--AT--neo.rr.com, May 26, 2001 22:59 |
||
⚫ | |||
− | ---- |
||
− | This is a good one that makes things work how you want. Good call. |
||
⚫ | |||
− | frioux [~(a--AT----AT----AT--t)~] gmail (dot) com, April 26, 2006 14:33 |
||
+ | Good work! |
||
− | ---- |
||
− | <!-- parsed by vimtips.py in 0.519958 seconds--> |
Latest revision as of 07:50, 2 August 2011
Tip 17 Printable Monobook Previous Next
created February 24, 2001 · complexity basic · author Yegappan · version 5.7
In insert mode, to allow the backspace key to erase previously entered characters, autoindent, and newlines, set the following option:
:set backspace=indent,eol,start
Or:
:set backspace=2
By default this option is empty, not allowing you to backspace over characters that weren't entered during the current insert mode session, the automatically inserted indentation, or across line breaks. This is the standard vi behavior.
References[]
Comments[]
Good work!