VIM TIP17

VimTip 17: Erasing previosuly entered characters in insert mode
在插入模式删除先前录入字符


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.
默认此选项为空。如果选项为空的话,在插入模式,你将无法删掉录入的字符除非你打开backspace。这是标准的VI行为#莫非俺的vi为非标准的非传统的?有可能,我测试结果使在windows下的gvim6.4 backspace为空亦能够删除字符
To get more help on this, use
更多帮助请看:
:help 'backspace'

#奇怪?根据帮助我的backspace的默认值indent, eol, start,即backspace =2。所以嘛,传统也是要改变的……


Technorati Tags: ,

Comments