[Feature Discussion] shorten way to call a :Command
on run
#142
Labels
enhancement
New feature or request
:Command
on run
#142
Currently for calling a
:Command
during installation of a plugin you need to call a function:This is very convoluted and long way to do a very simple thing, that I argue is the most common post installation tactic taken by plugins.
My solution
Having some sort of check on the first letter of the string is passed to
run
. If:
callvim.cmd
else call shellscript. This wouldn't substitute giving a function torun
but will be a life and usability improvement.A idea for using the check would be:
The text was updated successfully, but these errors were encountered: