Description Usage Arguments Examples
Manipulated the JSON file to make the suggested keyboard shortcuts. Need to close and re-open RStudio (or start a new session) for them to take effect.
1 2 3 | set_shortcuts(addins, shortcuts, file = "addins")
set_shortcuts_default()
|
addins |
Characer vector of underlying functions for addins. Need to be in the right form (e.g. |
shortcuts |
Characer vector of keyboard shortcuts for addins. Need to be in the right form (e.g. |
file |
The name of the JSON file in the file path “ |
1 2 3 4 5 6 7 8 9 | ## Not run:
#This is an example of changing shortcut thats helpful as it
# removes pasteLastYank as a shortcut that overwites
# Ctrl+Y for redo. This will fix frustrating default behaviour
# of RStudio.
set_shortcuts("pasteLastYank","Ctrl+Shift+Y","rstudio_bindings")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.