Hi,

On Thu, Mar 29, 2018 at 1:45 AM, kiryph <[email protected]> wrote:
> Hi Yegappan,
>
> thanks for implementing this!
>
> However, I think :argedit should actually allow to specify files which are
> not yet in the arglist:
>
> :[count]arge[dit][!] [++opt] [+cmd] {name} .. *:arge* *:argedit*
> Add {name}s to the argument list and edit it.
> When {name} already exists in the argument list, this
> entry is edited.
>

Yes. But when selecting a name from the arglist, you can use command
line completion to select the name. If the file name is not in the arglist,
then you can manually enter it.

I see that Bram has already incorporated the patch with the command
line completion support  for the ":argdelete" command.

>
> That's the reason why I was talking about :argu:
>
> *:argu* *:argument*
> :[count]argu[ment] [count] [++opt] [+cmd]
> Edit file [count] in the argument list.  When [count]
> is omitted the current entry is used.  This fails
> when changes have been made and Vim does not want to
> |abandon| the current buffer.
> Also see |++opt| and |+cmd|.
> {not in Vi} {not available when compiled without the
> |+listcmds| feature}
>

But the ":argument" command currently takes a count and not
a name for a file in the arglist.

Unless the behavior of ":argedit" or ":argument" is modified, we cannot
extend command line completion to these commands.

Regards,
Yegappan

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