View source: R/setKeyboardBindings.R
setKeyboardBindings | R Documentation |
Set Rstudio keyboard bindings as mapped on https://github.com/brry/rskey#rskey. By default, this overwrites existing F3:F12 mappings!
setKeyboardBindings(
overwrite = TRUE,
removeLastYank = TRUE,
workdir2filedir = TRUE,
roampath = paste0(Sys.getenv("APPDATA"), "/RStudio/keybindings"),
openfolder = TRUE
)
overwrite |
Logical. Should existing mappings on F3, F4, ..., F12 be overwritten? Still informs if this occurs. DEFAULT: TRUE |
removeLastYank |
Logical. Should the annoying Rstudio default to override "Redo" (CTRL+Y) with some weird yank be removed? DEFAULT: TRUE (CTRL+Y becomes "Redo" again) |
workdir2filedir |
Logical. Set CTRL+H for setWorkingDirToActiveDoc? DEFAULT: TRUE |
roampath |
Char. If not NULL, both files are also copied to this path,
e.g. C:/Users/berry/AppData/Roaming/RStudio/keybindings.
Seems to be irrelevant in Rstudio 1.4.
DEFAULT: RStudio/keybindings folder at |
openfolder |
Logical: Open folder(s) after writing the files?
Uses |
Returns nothing
Berry Boessenkool, berry-b@gmx.de, Jan 2019
addins
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.