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

Re: bug in command?

Expand Messages
  • Antoine J. Mechelynck
    It works! Thans Peppe. So it was no bug but just a case of RTFM after all. (The problem with those helpfiles is their bulk.) Tony. ... From: Preben Peppe
    Message 1 of 5 , Jul 2, 2002
    • 0 Attachment
      It works! Thans Peppe. So it was no bug but just a case of RTFM after all.
      (The problem with those helpfiles is their bulk.)

      Tony.
      ----- Original Message -----
      From: "Preben Peppe Guldberg" <c928400@...>
      To: <vim@...>
      Sent: Tuesday, July 02, 2002 8:56 PM
      Subject: Re: bug in command?


      > Thus wrote Antoine J. Mechelynck (antoine.mechelynck@...) on
      [020702]:
      > > I think Vim interprets the bars in your command definition as statement
      > > separators (and so ends the command text there).
      >
      > > On my system (gvim 6.1) the following works:
      >
      > > :com! ABC if (1) <Bar> echo "hello" <Bar> endif
      >
      > > if (1) | ABC | endif
      >
      > If you want this to succeed, you should add the "-bar" option to the
      > :command above.
      >
      > :help :command | /-bar
      >
      > Peppe
      > --
      > "Before you criticize someone, walk
      > Preben "Peppe" Guldberg __/-\__ a mile in his shoes. That way, if
      > c928400@... (o o) he gets angry, he'll be a mile away
      > ----------------------oOOo (_) oOOo-- - and barefoot." --Sarah Jackson
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.