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

Re: abbreviations in vim

Expand Messages
  • Antoine J. Mechelynck
    it seems that, for tht kind of file, the hyphen should be (and isn t) in iskeyword . Do :set iskeyword? to check what you have. HTH, Tony. ... From:
    Message 1 of 4 , Aug 1, 2002
    • 0 Attachment
      it seems that, for tht kind of file, the hyphen should be (and isn't) in
      'iskeyword'. Do :set iskeyword? to check what you have.

      HTH,
      Tony.

      ----- Original Message -----
      From: "rasdin_1999" <rasdin_1999@...>
      To: <antoine.mechelynck@...>
      Sent: Wednesday, July 31, 2002 6:48 PM
      Subject: abbreviations in vim


      > I tried all the suggestions. But looks like abbr expects only one
      > word.Eg abbr nl NO-LOCK
      > when i try abbr no-lock NO-LOCK or
      > iabbr no-lock NO-LOCK
      >
      > it says error detected while processing line.
      > Iam using vim 6.0
      >
      > What should happen is
      > when i type no-lock followed by a space or . vim should display NO-
      > LOCK. IS this doable?
      >
      > Thanks,
      > Dinesh.
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.