I have a nifty key combination to wrap a single word in parentheses:
cw(<C-r><C-o>")<ESC>.
What I want to do is create a custom binding, (, which operates on any selection.
If I am in visual mode and have selected a block of text or several blocks, ( should wrap all of the selected blocks in parentheses.
If I am in normal mode and type (3j, it should perform the combination c3j(<C-r><C-o>")<ESC>.
Thank you for your help.