Is there any way to assign R code to RStudio IDE shortkeys. For example, to source a specific script in the current session each time CTRL + Shift + S is pressed?
I know that there is a "Source on Save" option, but the question here is more general.
Currently, the only solution I can think of is to set the Project option to "package", which enables the CTRL + SHIFT + L shortkey to execute devtools::load_all(".").
Then in .Rprofile I change the functionality of devtools::load_all("."):