You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be far more convenient if there was a function that could do it for ourselves, either like use_rstudio_preferences() or like edit_rstudio_prefs().
Would you consider implementing this in usethis?
The text was updated successfully, but these errors were encountered:
I'm ambivalent about adding such a function, because it feels weird to me to edit this JSON file "by hand" as it were. But it is sort of comparable to use_rstudio_preferences(), so I won't necessarily close this.
Sidebar: In case it's interesting to you in the meantime, the way I handle all of this is to give these sort of RStudio config files my "full dotfile treatment". I keep all my dotfiles in a git repo and symlink them into the right locations. So here's how ~/.config is actually set up for me:
When I set up a new computer, all my dotfiles just come over with my main file migration and then I place a few symlinks to put them all back into force.
Thank you so much for this workaround Jenny, this is a very interesting setup.
Unfortunately, I have to use Windows so symlinking is not easy to set up, but maybe I can save/read these in a portable archive.
I'm curious though, why does it feel weird to you to edit rstudio_bindings.json but not rstudio-prefs.json?
Hi,
I use
usethis
a lot when I'm setting RStudio on a new computer, especially withuse_rstudio_preferences()
which saves a lot of time.RStudio also provides a way to save and load Keyboard Shortcuts, but remembering the path is difficult and system dependant.
It would be far more convenient if there was a function that could do it for ourselves, either like
use_rstudio_preferences()
or likeedit_rstudio_prefs()
.Would you consider implementing this in
usethis
?The text was updated successfully, but these errors were encountered: