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.

insertUsr1Addin()

Examples

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