彼此之后,将两个文本块的行放在
我有以下两个文本块,
abc
abc
cdz
zer
sdf
bfd
dss
azr
vvf
ezr
我想知道我如何将这两个块的行置于以下文本的最终块: -
abc
bfd
abc
dss
cdz
azr
zer
vvf
sdf
ezr
I have the following two blocks of text
abc
abc
cdz
zer
sdf
bfd
dss
azr
vvf
ezr
I want to know how I can place the rows of these two blocks alternatively so that I get the final block of text as following:-
abc
bfd
abc
dss
cdz
azr
zer
vvf
sdf
ezr
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用宏一次移动1行:
d
而不是dd
剪切此行,以维持两个块之间的距离Using macro to move 1 line at a time:
D
instead ofdd
to maintain the distance between the 2 blocks这是一种受
切开两个块。
插入
粘贴的输出
:Here is a method inspired by this question:
Write each block to a separate temporary file:
Cut the two blocks.
Insert the output of
paste
: