csgillespie / efficientR

Efficient R programming: a book
https://csgillespie.github.io/efficientR/
Other
720 stars 373 forks source link

2.5.1 - Mac keyboard shortcuts for RStudio #270

Open engineerchange opened 4 years ago

engineerchange commented 4 years ago

I tried to replicate Cmd+? on both of my MBPs and I didn't get any feedback from RStudio.

Snippet from section:

On Mac, it works differently.
`Cmd+?` should activate a search across menu items, allowing the same operation can be achieved with:
In RStudio the keyboard shortcuts differ between Linux and Windows versions on one hand and Mac on the other.
In this section we generally only use the Windows/Linux shortcut keys for brevity.
The Mac equivalent is usually found by simply replacing `Ctrl` and `Alt` with the Mac-specific `Cmd` button.
engineerchange commented 4 years ago

There is no default shortcut key for Help > Check for Updates, but you can set one in Tools > Modify Keyboard Shortcuts.

I think perhaps the most valuable update here is to suggest the shortcut key: Option + Shift + K to bring up the Keyboard Shortcuts Help menu; though I note this is already discussed in 2.5.5.

Robinlovelace commented 4 years ago

:+1: neither of us are Mac users so this feedback is very useful. PR implementing your suggestion very welcome, otherwise I can look into this next week.