Please define v using Vim's text-object API (see :help text-objects) so that viv and other motion commands work properly.
Hint: you can define your own text-objects using this Vim plugin.
Thanks for your consideration.
Also create visual mode mappings
Previously, I had just bound operator-pending mappings (with onoremap);
this change allows you to use, for example, `viv` to select the inner
variable in visual mode.
The current mappings are actually text objects; the reason that e.g. viv doesn't work is because I had only done operator-pending mode mappings, and hadn't done visual mode mappings.
I'll push a change in a second that will allow you to use viv and vav.
This should do what you want, Suraj.
Thanks! It works now. 😅