E464: Ambiguous use of user-defined command

12

When I try to go to the end of a file in vim by doing :G I get the following:

E464: Ambiguous use of user-defined command

I don't know why it's saying this. Where can I see a list of user-defined commands and potentially delete them?

neubert

Posted 2016-01-05T20:25:55.883

Reputation: 3 991

2It's G, not :G. – romainl – 2016-01-06T08:19:55.430

Answers

13

You can get a list of user-defined commands by typing:

:command

And the reason you're getting the error is because there are two or more possible commands that match the partial command you typed. You need to type more of the command, or the full command for it to work.

You can always find out what an error message means by doing :help on the error number. In this case:

:help E464

Incidentally, :G is not an internal Vim :-command, but it is a normal mode command. You want :$ or just G.

Heptite

Posted 2016-01-05T20:25:55.883

Reputation: 16 267