This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 11 months ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
我相信您想要替换而不是插入模式。按“插入”键一次将使您进入插入模式,但按两次将使您进入替换模式。这应该会给你预期的行为。
I believe you want Replace instead of Insert mode. Hitting the 'insert' key once will put you into Insert mode but hitting it twice will put you into Replace mode. That should give you the expected behaviour.
要仅将退格键更改为与 vi 兼容的行为,可以将
v
添加到cpoptions
中,如下所示。这记录在
:help 'cpoptions'
。我意识到这是一个非常的答案,但该功能似乎至少从 Vim 7 开始就可用,即第一次提出问题时。
To change only backspace to vi-compatible behavior, one would add
v
tocpoptions
like thisThis is documented in
:help 'cpoptions'
.I realize this is a very late answer but the feature seems to have been available since at least Vim 7 i.e. when the question was first asked.