Skip to content

RStudio configs in different locations for Windows #25

@ahjota

Description

@ahjota

Per https://docs.posit.co/ide/user/ide/guide/productivity/custom-shortcuts.html#saving-and-loading

RStudio puts its keybinding configs in different locations for OSes:

RStudio 1.3, and later (Windows)

~/AppData/Roaming/RStudio/keybindings/rstudio_bindings.json
~/AppData/Roaming/RStudio/keybindings/editor_bindings.json
RStudio 1.3, and later (MacOS/Linux)

~/.config/rstudio/keybindings/rstudio_bindings.json
~/.config/rstudio/keybindings/editor_bindings.json

The same is true for settings.json and snippets

https://docs.posit.co/ide/user/ide/guide/productivity/custom-settings.html

So if I ever decide to set up RStudio in Windows, I'm either going to need to:

  • persist json from AppData, and then use chezmoiignore to load the correct ones per OS
  • use a template for json and render these files based on OS from that template

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions