這裏的原料是我的工作:如何在Vim中的指定字符後面插入文本?
First.
This is the second line.
The third.
我想在文本中插入「後插4個字符的東西」,使之成爲
Firsinsert something behind 4 charactert.
Thisinsert something behind 4 character is the second line.
The insert something behind 4 characterthird.
:%s/^.\{4}/insert something behind 4 character/g
substitute
命令不會插入文本。我怎樣才能將這個字符串插入每行的第4個字符?
也是同義詞,\ 0 – Ben