[英]Adding column of numbers in linux vi editor
I have used following commands to add columns in vi editor我使用以下命令在 vi 编辑器中添加列
visual block (ESC+Ctrl+V) arrows use to select the column x to delete value again ctrl+v Shift+I (go to the top and insert) Type the value Esc+enter视觉块 (ESC+Ctrl+V) 箭头用于选择列 x 再次删除值 ctrl+v Shift+I(转到顶部并插入) 键入值 Esc+enter
I want to repeatedly add 1 and 2 as in the snapshot attached.我想在附加的快照中重复添加 1 和 2。 Can you please assist me with this.
你能帮我解决这个问题吗? thanks
谢谢
qa
.qa
。i1<esc>
jh
i2<esc>
jh
. i1<esc>
jh
i2<esc>
jh
。 So that you end up 2 lines below, so that it is something repeatable.q
q
200@a
200@a
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.