Hi Vincent,

An abbreviation cannot begin with a non-keyword character and end in more than
one keyword character, thus <method is illegal, as is !method or %method, etc. 
Maybe try ':iabbrev <method> ...' instead.

>From the manual:

  Examples of strings that cannot be abbreviations: "a.b", "#def", "a b", "_$r"

See ':help abbreviations' for more information.

regards,
Peter


--- Vincent Wang <[EMAIL PROTECTED]> wrote:

> Recently, I need the following abbreviation:
>    iabbr <method <method name="" ></method>
> But it can not be executed successfully because I think vim consider 
> <method as a <buffer> like option. I go over vim's online help, but 
> found nothing about how to escape this.
> 
> Any comment will be appreciated!
> Thanks.
> 
> BR
> Vincent
> 
> -- 
> "The tool that save the most labor in a programming project is probably a
> text-editing system"  -- <<The Mythical Man-Month>>
> 
> Try to make life easier ... 
> 
> 



                
____________________________________________________
The LOST Ninja blog: Exclusive clues, clips and gossip. 
http://au.blogs.yahoo.com/lostninja 

Reply via email to