Summary
Shortcuts work wherever you write code: the project IDE — editor, terminal, notebooks —, but also the SQL editors, ETL scripts and the plugin editor. You rebind them in a dedicated window, and two presets — RStudio and Jupyter — align a notebook family’s shortcuts in one go with whichever tool you are used to.
The combinations below are shown for your system:
General
These work anywhere in the IDE.
| Action | Shortcut |
|---|---|
| Toggle sidebar | ⌘+B |
| Toggle terminal | ⌘+` |
| New file | ⌘+⌥+N |
| Clear terminal / output | ⌘+K |
| Action | Shortcut |
|---|---|
| Toggle sidebar | Cmd/Ctrl + B |
| Toggle terminal | Cmd/Ctrl + ` |
| New file | Cmd/Ctrl + Alt + N |
| Clear terminal / output | Cmd/Ctrl + K |
Why Alt for "New file"
Editor
| Action | Shortcut |
|---|---|
| Save file | ⌘+S |
| Run selection / line | ⌘+↵ |
| Run file | ⌘+Shift+↵ |
| Run file as background job | ⌘+Shift+J |
| Toggle comment | ⌘+Shift+C |
| Action | Shortcut |
|---|---|
| Save file | Cmd/Ctrl + S |
| Run selection / line | Cmd/Ctrl + Enter |
| Run file | Cmd/Ctrl + Shift + Enter |
| Run file as background job | Cmd/Ctrl + Shift + J |
| Toggle comment | Cmd/Ctrl + Shift + C |
Four more are handled by the code editor itself, keep their usual combinations and cannot be rebound: find (
The editors outside the IDE — SQL script collections, a database’s SQL tab, an ETL pipeline’s scripts, the plugin editor — take the ones that apply to them: save, run, comment, and the sidebar and new file when they have one.
Notebooks
This is where habits diverge most, which is why the two families have their own defaults.
| Action | R Notebooks (Rmd / Qmd) | Jupyter (ipynb) |
|---|---|---|
| Run cell and advance | ⌘+Shift+↵ | Shift+↵ |
| Run cell | ⌘+↵ | ⌘+↵ |
| Run cell and insert below | — | ⌥+↵ |
| Run all cells | ⌘+⌥+R | ⌘+F9 |
| Run all cells above | ⌘+⌥+P | F8 |
| Insert cell | ⌘+⌥+I | — |
| Insert cell above | — | A |
| Insert cell below | — | B |
| Delete cell | — | D |
| Render document | ⌘+Shift+K | ⌘+Shift+K |
| Action | R Notebooks (Rmd / Qmd) | Jupyter (ipynb) |
|---|---|---|
| Run cell | Cmd/Ctrl + Enter | Cmd/Ctrl + Enter |
| Run cell and advance | Cmd/Ctrl + Shift + Enter | Shift + Enter |
| Run cell and insert below | — | Alt + Enter |
| Run all cells | Cmd/Ctrl + Alt + R | Cmd/Ctrl + F9 |
| Run all cells above | Cmd/Ctrl + Alt + P | F8 |
| Insert cell | Cmd/Ctrl + Alt + I | — |
| Insert cell above | — | A |
| Insert cell below | — | B |
| Delete cell | — | D |
| Render document | Cmd/Ctrl + Shift + K | Cmd/Ctrl + Shift + K |
A dash marks an action with no default shortcut: it stays available in the notebook, and you can assign one to it.
Both sets coexist
The R notebook shortcuts apply only to an .Rmd or .qmd file, the Jupyter ones only to an .ipynb. Working with both formats therefore needs no setting.
Customising
The Keyboard shortcuts window opens from the keyboard icon in the IDE toolbar — and from the same button in the SQL, ETL and plugin editors, where it shows only the shortcuts that apply there. It files shortcuts into four families: General, Editor, R Notebooks (Rmd / Qmd) and Jupyter Notebooks (ipynb).
Keyboard shortcuts
Click a combination, then type another one. Escape cancels.
To change a shortcut, click its combination: “Press keys…” appears. Type the new one, then confirm with the tick; Escape cancels.
- Conflict — if the combination is already in use, a warning names the action concerned (“Conflicts with …”). It does not block the change: rebinding the other action is up to you.
- Reserved by the browser —
⌘+WCmd/Ctrl + W ,⌘+TCmd/Ctrl + T ,⌘+QCmd/Ctrl + Q and⌘+LCmd/Ctrl + L close or open tabs and windows without a page being able to stop it: confirming is blocked. - Going back — a changed shortcut gains a reset button. Reset all to defaults, which only appears once a shortcut has been changed, puts everything back to its original value, after confirmation.
The presets
Each notebook family has its own Preset selector — RStudio or Jupyter — in its header. It aligns its ten shortcuts in one go with either tool’s habits: you can give your R notebooks Jupyter’s gestures, or the other way round. The lit button shows which preset your shortcuts follow; it goes dark as soon as you change one.
Your shortcuts stay in this browser
They are saved in your browser, not in the project nor on the server. They do not travel in an export and are not imposed on your colleagues — but they do not follow you to another computer either.