Monday, May 24, 2010

Re: :V generates "E464: Ambiguous use of user-defined command" (windows)

On 24/05/10 14:40, Christian Brabandt wrote:
> Hi Jean!
>
> On Mo, 24 Mai 2010, Jean Johner wrote:
>
>> Hello,
>> Using the standard windows _vimrc and typing
>> :V
>> generates the message
>> E464: Ambiguous use of user-defined command
>>
>> Typing
>> :h :V
>> only gives netrw command :Vexplore
>>
>> In the list in index.txt, I found no other command starting with :V
>>
>> Why this E464 error?
>
> In the command line, type :V followed by a Tab. This lists all commands
> that start with :V

lists them as a menu if you have set 'wildmenu', otherwise completes the
first match. Ctrl-D instead of <Tab> lists them all above the command-line.

> (You probably also have :VimballList and :Vimuntar)
>
> You can then use :verbose :com<command-name> to find out, where this
> command was defined.

they are in global plugins (for netrw, vimball and tar). :Ve would still
give unambiguously Vexplore, but you may want to add a tab next time to
see how Vim completes it (and I recommend ":set wildmenu" in your vimrc
but YMMV).

>
> regards,
> Christian

Best regards,
Tony.
--
UFO's are for real: the Air Force doesn't exist.

--
You received this message from the "vim_use" 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

No comments:

Post a Comment