RStudio
Toggle the document outline
In RStudio, Ctrl + Shift + O will toggle the document outline. On a Mac, press Cmd + Shift + O instead.
Where it works: Source editor
Every documented variant
| System | Environment | Keys |
|---|---|---|
| Mac | Desktop app | CmdShiftO |
| Windows | Desktop app | CtrlShiftO |
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.