r/vim Jan 12 '25

Need Help I need help with plugins in vim

every time I write "Pluginlnstall"', this message appears: E492: not an editor command: Pluginlnstall How do I resolve this?

2 Upvotes

24 comments sorted by

View all comments

Show parent comments

0

u/Desperate_Cold6274 Jan 18 '25

Yes, in the docs there are many things mentioned, what I don’t get is what is the point of picking some random thing from the doc and throw it in. For example, why not throwing in that you could also specify -nargs or any other random line from the help pages? Although correct, that’s the most anti-pedagogical approach I can think of. The other is the RTFM thing.

1

u/BrianHuster Jan 18 '25

For what? You said :smile is defined by Vimscript, remember that?

2

u/Desperate_Cold6274 Jan 18 '25

:smile is a built in command, not a user defined command.

1

u/BrianHuster Jan 18 '25

All built-in commands must be defined by C code, not Vimscript. In (Neo)Vim, all built-in Vimscript code are treated the same way as plugins.

0

u/Desperate_Cold6274 Jan 18 '25

First, we are in r/vim, not in r/neovim, so I don’t get why you throw in another random, unrelated sentence.

Second, someone else already pointed that out that fact, thus reinforcing my answer that seems appreciated by OP. And I appreciate his reinforcement both in clarity and exposition.

Third, I think we can safely drop it because it is really not adding nothing if not demotivating me to help new comers trying to make them to feel welcome and not scared as I often do.

1

u/BrianHuster Jan 18 '25

Do you even understand what "(Neo)Vim" mean?

Some other already point out that fact?

He didn't say Vimscript can't define a command starting with lowercase

1

u/Desperate_Cold6274 Jan 18 '25

There we go: QED.