randy3k / SendCode

Send code and text to macOS and Linux Terminals, iTerm, ConEmu, Cmder, Tmux, Terminus; R (RStudio), Julia, IPython.
MIT License
204 stars 28 forks source link

ctrl+d followed by send code for R #147

Open fabeit opened 3 years ago

fabeit commented 3 years ago

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

randy3k commented 3 years ago

What should the combo do?

fabeit commented 3 years ago

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?