RStudio
Move focus to the terminal
Press Alt + Shift + M to move focus to the terminal in RStudio. On a Mac, press Shift + Option + M instead.
Where it works: Anywhere
Every documented variant
| System | Environment | Keys |
|---|---|---|
| Mac | Desktop app | ShiftOptionM |
| Windows | Desktop app | AltShiftM |
Where this comes from
Keyboard Shortcuts in the RStudio IDE - Posit Support
Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.