On 4/20/06, Mark Sargent <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm trying to get vi to display an ab like so(minus the \), > > ab htm <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > \<html> > \<head> > \<meta content="text/html; charset=UTF-8" http-equiv="content-type"> > \<title>NewUser</title> > \</head> > \<body> > \</body> > \</html> > > but, when I input the text htm and press the spacebar, I get the following, > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 > Transitional//EN"><html><head><meta content="text/html; charset=UTF-8" > http-equiv="content-type"><title>NewUser</title></head><body></body></html> > > which is not the desired result. If I remove the leading backslashes, I get > errors when starting vi,
Does adding <cr> into your :ab command, into those places where you want linebreaks, help ? Like this: :ab htm <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> \<cr><html> \<cr><head> Yakov
