On Monday, January 21, 2019 at 4:33:44 PM UTC-6, Tony Mechelynck wrote:
> On Mon, Jan 21, 2019 at 9:30 PM Kevin Bulgrien wrote:
> >
> > > It seems unfortunate for gvim's ex man page not to document use of the
> > > vertical bar delimiter in lieu of multiple -c arguments since it does
> > > mention that not all implementations support use of multiple -c
> > > arguments.
> >
> > Correction: The man page does document the behavior, but only in the
> > EXTENDED DESCRIPTION of Command Line Parsing in ex, section 6, which
> > takes a lot of digging to find.
> >
> > Regards,
> >
> > Kevin Bulgrien
>
> The use of the vertical bar to separate ex-commands given together is
> not specific to the -c command-line argument. It is documented at
> ":help :bar", in section 3 "Ex command-lines" of Vim's cmdline.txt
> help file. It is extremely useful to enter a complete if..endif block,
> e.g. as an autocommand or (with <Bar> to represent the vertical bar)
> in the {rhs} of a mapping.
>
> Best regards,
> Tony.
Thanks for the added information about this feature that eluded me. I
didn't carefully digest the parsing information to determine where all
it might be of relevance, though I did rather assume it was applicable
in more places than one.
Brief mention near the -c description still seems as though it could be
helpful, even if only to make more evident a way to condense a long
series of commands.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.