微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

vim – Visual block insert / append不起作用

我使用Ctrl-V选择一个文本块,但是当我键入Shift-A或Shift-I时,我的 vim编辑器只在我开始视觉模式的位置进入插入模式.

例如,

Here
is 
text

我想要

#Her 
#is 
#text

但我得到:

#Here
is 
text
CTRL-V->选择块 – >按I – >输入#

然后按ESC

更多详情:

:h v_b_I

你可以看到:

Visual-block Insert                     *v_b_I* 

With a blockwise selection,I{string}<ESC> will insert {string} at the start 
of block on every line of the block,provided that the line extends into the block.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐