[Cialug] vi substituting

Nathan Stien nathanism at gmail.com
Sat Jan 26 10:43:07 CST 2008


On Jan 26, 2008 9:40 AM, Todd Walton <tdwalton at gmail.com> wrote:
> I open the file and say ":s/thisthis From/From/g".  vim tells me
> "E486: Pattern not found: thisthis From".  Horse baloney!  If I just
> straight search for it with "/thisthis From" then it finds it.  I can
> see it right in front of my face.
>
> Why doesn't vim see it when substituting?

If you just make a new file and put that string in it, can it
substitute it then?


More information about the Cialug mailing list