On Mon, Jan 21, 2019 at 9:30 PM Kevin Bulgrien <[email protected]> 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.

-- 
-- 
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.

Raspunde prin e-mail lui