Error: object 'v' not found
I'm trying to assign a single key to the send_code command but it seems not possible and I always get this error message in the rstudio console "Error: object 'v' not found".
Why can't a single key send_code? I am also trying to use authotkey so when I am in sublime a keypress triggers "ctrl+enter" but it doesn't work either. There's some conflict between send_code and autohotkey and sublime.
Thank you in advance
On windows, we are using some lower level api to simulate "ctrl+v" and paste code to RStudio. https://github.com/randy3k/SendCode/blob/6775b40613bb4911ba0499ff8a600c41f48a62c2/code_sender/winauto.py#L172
So it may not be possible to use autohotkey to simulate ctrl+enter directly.
@randy3k thank you for the feedback. So why is not possible in the Sendcode settings to assign one key to send_code?