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

Re: Starting arguments order

Expand Messages
  • A. J. Mechelynck
    ... Does $(Curline) include a space-separated double dash? See :help --- . Best regards, Tony.
    Message 1 of 6 , Jun 1, 2005
    • 0 Attachment
      Hofmann, Joachim wrote:
      > Tony wrote:
      >
      >
      >>The examples at the above help tag
      >>seem to imply that one should pass "+norm ggg?G" or -c "norm ggg?G"
      >>rather than +"norm ggg?G". Maybe that's the problem?
      >
      >
      > The +"normal zz" example was just a typo, I used "+normal zz", where the plus
      > sign is *inside* the quotes.
      >
      > --> Here is a real example: with two "+" - commands:
      >
      > --servername gmain --remote-silent +$(CurLine) "+setlocal filetype=vbnet"
      > "+normal zz" $(ItemPath)
      >
      > makes vim to open *two* buffers: one named +normal zz and another substituted
      > for $(ItemPath) which is the correct one.
      >
      > --> Another real example with using the -c notation:
      >
      > --servername gmain --remote-silent +$(CurLine) -c "setlocal filetype=vbnet"
      > -c "normal zz" $(ItemPath)
      >
      > makes vim to open *three* buffers: one named -c, another one named normal zz
      > and the third, correct one.
      >
      > Joachim
      >
      >
      >
      >

      Does $(Curline) include a space-separated double dash? See ":help ---".

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