Call this function as an addin to insert user chosen text or operation at the cursor position. To set the option do something like the example.

insertUsr2Addin()

Examples

# options("addinexamplesWV.usrFn2" = function() { rstudioapi::insertText(" := ") })