V 1.1 | A Keyboard shortcut cheatsheet from https://sonic-pi.net/tutorial.html#section-B-2 | Check out my Sonic Pi samples: https://github.com/444b/sonic-pi
|
In this sheet, we use these conventions
Meta is either Alt on Windows/Linux or Cmd on Mac. A Strikethrough has been made on commands that were tested on Windows 10 and found to not operate as per the original documentation |
|
|
Examples of how to use this document:
|
|
|
C-a
|
hold the Control key then press the A key
|
|
M-r
|
hold the Meta key and then press the R key
|
|
S-M-z
|
hold the Shift key, then press Meta key, then the z key
|
|
C-M-f
|
hold the Control key, then press Meta key, then the f key
|
|
M-r
|
Run code
|
|
M-s
|
Stop code
|
|
M-i
|
Toggle Help System
|
|
M-p
|
Toggle Preferences
|
|
M-{
|
Switch buffer to the left
|
|
M-}
|
Switch buffer to the right
|
|
S-M-0
|
Switch to buffer 0
|
|
S-M-1
|
Switch to buffer 1
|
|
...
|
...
|
|
S-M-9
|
Switch to buffer 9
|
|
M-+
|
Increase text size of current buffer
|
|
M--
|
Decrease text size of current buffer
|
|
C-a
|
Move to beginning of line
|
|
C-e
|
Move to end of line
|
|
C-p
|
Move to previous line
|
|
C-n
|
Move to next line
|
|
C-f
|
Move forward one character
|
|
C-b
|
Move backward one character
|
|
M-f
|
Move forward one word
|
|
M-b
|
Move backward one word
|
|
C-M-n
|
Move line or selection down
|
|
C-M-p
|
Move line or selection up
|
|
S-M-u
|
Move up 10 lines
|
|
S-M-d
|
Move down 10 lines
|
|
M-<
|
|
|
M->
|
|
|
M-a
|
Select all
|
|
M-c
|
Copy selection to paste buffer
|
|
M-]
|
Copy selection to paste buffer
|
|
M-x
|
Cut selection to paste buffer
|
|
C-]
|
Cut selection to paste buffer
|
|
C-k
|
Cut to the end of the line
|
|
M-v
|
Paste from paste buffer to editor
|
|
C-y
|
Paste from paste buffer to editor
|
|
C-SPACE
|
Set mark. Navigation will now manipulate highlighted region. Use C-g to escape.
|
|
M-m
|
Align all text
|
|
Tab
|
Align current line or selection (or select autocompletion)
|
|
C-l
|
Centre editor
|
|
M-/
|
Comment/Uncomment current line or selection
|
|
C-t
|
Transpose/swap characters
|
|
M-u
|
Convert next word (or selection) to upper case.
|
|
M-l
|
Convert next word (or selection) to lower case.
|
|
C-h
|
Delete previous character
|
|
C-d
|
C-d Delete next character
|
|
C-i
|
Show docs for word under cursor
|
|
M-z
|
Undo
|
|
S-M-z
|
Redo
|
|
C-g
|
Escape
|
|
S-M-f
|
Toggle fullscreen mode
|
|
S-M-b
|
Toggle visibility of buttons
|
|
S-M-l
|
Toggle visibility of log
|
|
S-M-m
|
Toggle between light/dark modes
|
|
S-M-s
|
Save contents of buffer to a file
|
|
S-M-o
|
Load contents of buffer from a file
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.