SendCode icon indicating copy to clipboard operation
SendCode copied to clipboard

ctrl+d followed by send code for R

Open fabeit opened this issue 4 years ago • 2 comments

I can't seem to find a way to create a shortcut that does "ctrl+d" and then "ctrl+enter". I have tried both autohotkey and multicommand package in Sublime but only the first part works with ctrl+d then what is sent to Rstudio is just "v". Do you know why?

Also a macro in ST3 doesn't work. It's puzzling.

Thanks

fabeit avatar Apr 28 '21 14:04 fabeit

What should the combo do?

randy3k avatar Apr 28 '21 16:04 randy3k

It should highlight the word next to the cursor and send that to Rstudio. In ST3 the shortcut ctrl+d highlights the word and then with ctrl+enter I send it to Rstudio. I use this to quickly visualize data structures and since I do it a lot of times I would like to automated to only one shortcut instead of two. Does that make sense?

fabeit avatar Apr 28 '21 17:04 fabeit