Add support through `REditorSupport.r` extension. See code how `Ctrl+Enter` works there and use it to send `pedant` command
Add support through
REditorSupport.rextension. See code howCtrl+Enterworks there and use it to sendpedantcommand