thanks mate :)usefull cmd :)
Thanks for making vim even cooler!
Works perfect!
with backreferences?
Perfect! But if needs submatch:First stringSecond stringThird stringlet i=1 | g/\(str\)/s//\=i.' '.submatch(1)/ | let i=i+1First 1 stringSecond 2 stringThird 3 string
Wow it's 2019 and it is still very useful. Thanks!
Post a Comment
6 comments:
thanks mate :)
usefull cmd :)
Thanks for making vim even cooler!
Works perfect!
with backreferences?
Perfect! But if needs submatch:
First string
Second string
Third string
let i=1 | g/\(str\)/s//\=i.' '.submatch(1)/ | let i=i+1
First 1 string
Second 2 string
Third 3 string
Wow it's 2019 and it is still very useful. Thanks!
Post a Comment