Show Menu
Cheatography

Sonic Pi Keyboard Shortcuts by

V 1.0 A Keyboard shortcut cheatsheet based off https://sonic-pi.net/tutorial.html#section-B-2

Conven­tions

In this sheet, we use these conven­tions
Meta is either Alt on Window­s/Linux or Cmd on Mac.
A Strike­through has been made on commands that were tested on Windows 10 and found to not operate as per the original docume­ntation
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
Part of the notion of consis­tency is the naming of shortcuts. In Sonic Pi we use the names Control and Meta to refer to the two main combin­ation keys. On all platforms Control is the same. However, on Linux and Windows, Meta is actually the Alt key while on Mac Meta is the Command key. For consis­tency we’ll use the term Meta - just remember to map that to the approp­riate key on your operating system.

Main Applic­ation Manipu­lation

M-r
Run code
M-s
Stop code
M-i
Toggle Help System
M-p
Toggle Prefer­ences
M-{
Switch buffer to the left
M-}
Switch buffer to the right
M-+
Increase text size of current buffer
M--
Decrease text size of current buffer
 

Navigation

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-<
Move to beginning of buffer
M->
Move to end of buffer

Select­ion­/Co­py/­Paste

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 highli­ghted region. Use C-g to escape.
 

Text Manipu­lation

M-m
Align all text
Tab
Align current line or selection (or select autoco­mpl­etion)
C-l
Centre editor
M-/
Commen­t/U­nco­mment current line or selection
C-t
Transp­ose­/swap characters
M-u
Convert next word (or selection) to upper case.
M-l
Convert next word (or selection) to lower case.

Deletion

C-h
Delete previous character
C-d
C-d Delete next character

Advanced Editor Features

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
                                                   
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Ubuntu 18.04 Gnome Tastenkombinationen Keyboard Shortcuts
          Keycool kc-84 Fn combination key Keyboard Shortcuts
          BASIC GERMAN CHEATSHEET Cheat Sheet