Loading ...
Sorry, an error occurred while loading the content.

Re: escaping a . in :abbreviate

Expand Messages
  • Antoine J. Mechelynck
    ... You can t (see :help abbreviations for what an abbreviation may consist of). But you may use an insert-mode mapping instead. However, a mapping won t
    Message 1 of 4 , Nov 29, 2003
    • 0 Attachment
      ryan kulla <toxicpulse@...> wrote:
      > how can I escape a period in an abbreviation?
      >
      > I get 'invalid argument' whenever i do:
      >
      > > ab foo.bar
      > or
      > > ab foo\.bar

      You can't (see ":help abbreviations" for what an abbreviation may consist
      of). But you may use an insert-mode mapping instead. However, a mapping
      won't check for "foo." being separated from the rest of the text by spaces,
      tabs or newlines before and after it.

      Regards,
      Tony.
    Your message has been successfully submitted and would be delivered to recipients shortly.