[wellylug] vi(m) question.

Enkidu enkidu at cliffp.com
Fri May 7 19:40:09 NZST 2004

I want to add something to the start of every line. Every line starts
with white space eg

   xyz abc 
   qqwe tertertertet
   123 eeeeeee

Suggested solution is something like:

:%s/^\w/addit /iga

I can't remember all the variations I've tried but I can't get it to

Any ideas?



More information about the wellylug mailing list