--- Tim Chase <[EMAIL PROTECTED]> wrote:

> > I want to make a mapping like this:
> > 
> >   :inoremap foreach foreach() {<CR>}<ESC>k$3hi
> > 
> > The end result being that when I type:
> > 
> >   foreach
> > 
> > I should get
> > 
> >   foreach() {
> >   }
> 
> Sounds more like you're reaching for an abbreviation rather than 
> a mapping.
> 

I don't want to have to press space or tab after 'foreach'.

regards,
Peter

Send instant messages to your online friends http://au.messenger.yahoo.com 

Reply via email to