thanks mate :)usefull cmd :)
Thanks for making vim even cooler!
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