Shortcut Cheatsheet
The following is a summary of the main shortcuts available within Sonic Pi. Please see Section 10.1 for motivation and background.
Conventions
In this list, we use the following conventions (where Meta is Alt on Windows and Linux and Cmd on Mac):
C-a
means hold the Control key then press the a key whilst holding them both at the same time, then releasing.M-r
means hold the Meta key and then press the r key whilst holding them both at the same time, then releasing.M-Z
means hold the Meta key, then the Shift key, then finally the z key all at the same time, then releasing.C-M-f
means hold the Control key, then press Meta key, finally the f key all at the same time, then releasing.Main Application Manipulation
M-r
- Run codeM-s
- Stop codeM-i
- Toggle Help SystemM-p
- Toggle PreferencesSelection/Copy/Paste
M-a
- Select allM-c
- Copy selection to paste bufferM-x
- Cut selection to paste bufferM-v
- Paste from paste buffer to editorEditor Manipulation
M-+
- Increase text sizeM--
- Decrease text sizeM-m
- Align textC-g
- EscapeNavigation
C-a
- Move to beginning of lineC-e
- Move to end of lineC-p
- Move to previous lineC-n
- Move to next lineC-f
- Move forward one characterC-b
- Move backward one characterC-M-f
- Move forward one wordC-M-b
- Move backward one wordC-h
- Delete previous characterC-d
- Delete next characterC-l
- Center editorAdvanced Editor Features
C-i
- Show docs for word under cursorM-z
- UndoM-Z
- RedoC-k
- Delete to the end of the line