[Cialug] vim global replace

Todd Walton tdwalton at gmail.com
Fri Sep 18 10:38:48 CDT 2009


On Fri, Sep 18, 2009 at 10:03 AM, Josh More
<morej at alliancetechnologies.net> wrote:
> g is global for the line only.
>
> If you want it to impact all lines, you want to use:
>
> :%s/^/'/g

That's it!  Thank you.

--
Todd


More information about the Cialug mailing list