Re: Setting Abbreviatons In .exrc Problems

2006-04-20 Thread Mark Sargent
Gerald Lai wrote: Mark, Here's an alternate suggestion: You may want to take a look at ":help template". It may be better to have a file with the HTML header/skeleton elsewhere that you can read in to your current buffer on demand. For example: :read skeleton.htm This way, you don't have t

Re: Setting Abbreviatons In .exrc Problems

2006-04-20 Thread Mark Sargent
Yakov Lerner wrote: which is not the desired result. If I remove the leading backslashes, I get errors when starting vi, Does adding into your :ab command, into those places where you want linebreaks, help ? Like this: :ab htm \ \ Hi All, yes, indeed it works. Great stuff!! Thank

Re: Setting Abbreviatons In .exrc Problems

2006-04-19 Thread Gerald Lai
On Thu, 20 Apr 2006, Mark Sargent wrote: Hi All, I'm trying to get vi to display an ab like so(minus the \), ab htm \ \ \ \NewUser \ \ \ \ [snip] Mark, Here's an alternate suggestion: You may want to take a look at ":help template". It may be better to have a file with the HTML header/ske

Re: Setting Abbreviatons In .exrc Problems

2006-04-19 Thread Yakov Lerner
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 > \ > \ > \ > \NewUser > \ > \ > \ > \ > > but, when I input the text htm and press the spacebar, I get the following, > > Transitional//EN"> http-equiv="conten

Setting Abbreviatons In .exrc Problems

2006-04-19 Thread Mark Sargent
Hi All, I'm trying to get vi to display an ab like so(minus the \), ab htm \ \ \ \NewUser \ \ \ \ but, when I input the text htm and press the spacebar, I get the following, Transitional//EN">http-equiv="content-type">NewUser which is not the desired result. If I remove the leading backslas