On 09/04/11 10:57, Andy Wokula wrote:
I'd appreciate a <range> argument that can be used like
<line1>,<line2>
but which is empty when no range was given.

I'm talking about
:h :command-range


Could you give a use case which would not work just as well with either -range or -range=% ? You'd have to use that range somewhere.

Maybe you could use :0command for your special case? That range is allowed, but for some commands it is not meaningful.


Best regards,
Tony.
--
Really heard in court in the U.S.A.:
Q.: All your answers must be oral, all right? Which school did you attend?
A.: Oral.

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