Hi,
I noticed that with the definition map + <Plug>(operator-foo), a user cannot do, for example, 5++. There is a simple work-around that the user can do for himself:
nmap <silent> <expr> ++ "+" . v:count1 . "+"
However, it might be nice to have that definition added automatically. For multi-key operators, you may want to define two versions automatically --- analogous to gqgq and gqq.
I had written my own version of "operator-replace" (before I knew about your plug-ins) that actually did a proper multiplication of the two counts, e.g., just like 2gq3gq is equivalent to 6gqgq. Going that far is probably not necessary or worthwhile, though. :)
Thanks so much for such an incredible plug-in!
Aaron
Hi,
I noticed that with the definition
map + <Plug>(operator-foo), a user cannot do, for example,5++. There is a simple work-around that the user can do for himself:However, it might be nice to have that definition added automatically. For multi-key operators, you may want to define two versions automatically --- analogous to
gqgqandgqq.I had written my own version of "operator-replace" (before I knew about your plug-ins) that actually did a proper multiplication of the two counts, e.g., just like
2gq3gqis equivalent to6gqgq. Going that far is probably not necessary or worthwhile, though. :)Thanks so much for such an incredible plug-in!
Aaron