Is it possible to have an autocommand event that runs whenever a command executes on vim? By "command" I mean anything like w, di( or ihello<ESC>.
Alternatively, can a user, plugin, or remote process figure out programatically when such a command is executed on Vim? Could this information get logged somewhere?
Thanks for your time! You people rock and you know it, props.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
What would you use it for?
A statistics plugin. And a "vim golf"-like plugin that requires counting the number of commands.
Would this event be triggered after any single command, or after a series of commands? E.g. when a mapping does three commands, or a plugin executes a bunch of commands.
It's fine for me either way. Whatever granularity or approach you consider reasonable or easy to implement is ok by me.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()