![](/img/trans.png)
[英]How can I copy/paste text from one Vim file to another Vim file in another shell tab?
[英]vim : copy one entire column from one file to another file
文件#1:
F#1 A1 B1 C1
F#1 A2 B2 C2
F#1 A3 B3 C3
F#1 A4 B4 C4
F#1 A5 B5 C5
F#1 A6 B6 C6
文件#2:
D1 E1 F1
D2 E2 F2
D3 E3 F3
D4 E4 F4
D5 E5 F5
D6 E6 F6
文件#2 中的所需格式:
F#1 D1 E1 F1
F#1 D2 E2 F2
F#1 D3 E3 F3
F#1 D4 E4 F4
F#1 D5 E5 F5
F#1 D6 E6 F6
在 vim 中,如何将整个列(本例中的第一列)从文件 #1 复制到文件 #2,如上所示的所需格式? 请注意,实际上文件很长。
谢谢你。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.