Closed amerlyq closed 4 months ago
It generally looks reasonable, but could you submit it as a pull request, so it's easier for me to review?
I really-really didn't want to fork the repo only to make a PR for short patch, and then wait merge to delete that repo :( But here you go. As for the docs -- if needed you can copy some descriptions from this issue into PR.
Merged
In continuation of #78 :
It didn't support
SwitchReverse
(and now it does).I needed a way to switch faster between group of time representations:
For which I basically use "reverse" option as an optional lambda argument, to match same pattern into two different operations directions based on either
<CR>
or<BS>
was pressed.In same way, if I have multiple possible commands on same pattern -- I can pass without pressing
<count>
as 3rd arg to pick one of them, if all of them are different. Or place all possible conversions into a list around lambda definitions, and directly pick necessary item from list by<CR>
multiple times.Full patch below, I hope you will apply and push it soon :) P.S. of course, for
v:count
support, I needed to fix opfunc call first.