[OT] vi question

fred smith fredex at fcshome.stoneham.ma.us
Wed Jul 14 20:54:44 UTC 2010

On Wed, Jul 14, 2010 at 10:26:25AM -0700, Mike Wright wrote:
> Hi all,
> I'm wasting a lot of time (probably because of a brain fart) googling 
> for this.
> I'm using Zend_Framework to generate some html which it unfortunately 
> does as one giant line.  I'm pretty sure it has an error but can't find 
> the missing/extra tag without formatting the html with line feeds.
> Will somebody tell me the symbol to use for a linefeed in substitutions 
>   as in
> 	:s1,$#</tag>#</tag>linefeed#g

in vi: ^V^M, or maybe ^V^V^V^M. Try the first then if it doesn't do what
you want, try the second.

---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
               But God demonstrates his own love for us in this: 
                         While we were still sinners, 
                              Christ died for us.
------------------------------- Romans 5:8 (niv) ------------------------------

More information about the users mailing list