I have used following commands to add columns in vi editor
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
I want to repeatedly add 1 and 2 as in the snapshot attached. Can you please assist me with this. thanks
qa
.i1<esc>
jh
i2<esc>
jh
. So that you end up 2 lines below, so that it is something repeatable.q
200@a
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.