Simon Ruderich wrote:

[...]

> Is `:{range}!cmd` correct, or should it be ".."? The user can't
> really type it ("{range}" and "cmd" are not verbatim) - but it
> still describes a command.

I think it's OK, although it might be better to give a real working
example, such as `:.,$!cmd`.  But then having to explain that ".,$" can
be any {range} isn't easy to read.  Perhaps best is to give both the
generic form and a specific example:

        You can filter lines of text with `:{range}!cmd`, for example
        `:.,$!fmt -w 40`.

-- 
DENNIS:  Listen -- strange women lying in ponds distributing swords is no
         basis for a system of government.  Supreme executive power derives
         from a mandate from the masses, not from some farcical aquatic
         ceremony.
                                  The Quest for the Holy Grail (Monty Python)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui