加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

vim – Visual block insert / append不起作用

发布时间:2020-12-15 18:47:16 所属栏目:安全 来源:网络整理
导读:我使用Ctrl-V选择一个文本块,但是当我键入Shift-A或Shift-I时,我的 vim编辑器只在我开始视觉模式的位置进入插入模式. 例如, Hereis text 我想要 #Her #is #text 但我得到: #Hereis text CTRL-V-选择块 – 按I – 输入# 然后按ESC 更多详情: :h v_b_I 你可
我使用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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读