Keys

Global key bindings

These bindings work everywhere.

Key                      | Action                                         
-------------------------------------------------------------------------
                    | change modes, live to edit to pattern and back
                    | preset read mode, or return to last mode      
alt-                | preset write mode                             
win-                | clear delays, stack and slews                 
shift-alt-? / alt-h      | help text, or return to last mode             
 to              | run corresponding script                      
                     | run metro script                              
                    | run init script                               
alt- to alt-     | edit corresponding script                     
alt-                 | edit metro script                             
alt-                | edit init script                              
ctrl- to ctrl-   | mute/unmute corresponding script              
ctrl-                | enable/disable metro script                   
 to  | run corresponding script                      
 /        | jump to pattern mode                          
 /    | jump to live mode                             

Text editing

These bindings work when entering text or code.

In most cases, the clipboard is shared between live, edit and the 2 preset modes.

Key                        | Action                                         
---------------------------------------------------------------------
 / ctrl-b            | move cursor left                       
 / ctrl-f           | move cursor right                      
ctrl- / alt-b        | move left by one word                  
ctrl- / alt-f       | move right by one word                 
 / ctrl-a            | move to beginning of line              
 / ctrl-e             | move to end of line                    
 / ctrl-h       | backwards delete one character         
 / ctrl-d          | forwards delete one character          
shift- / ctrl-u | delete from cursor to beginning        
shift- / ctrl-k    | delete from cursor to end              
alt- / ctrl-w   | delete from cursor to beginning of word
alt-d                      | delete from cursor to end of word      
ctrl-x / alt-x             | cut to clipboard                       
ctrl-c / alt-c             | copy to clipboard                      
ctrl-v / alt-v             | paste to clipboard                     

Live mode

Key          | Action                                         
---------------------------------------
 / C-n | history next            
 / C-p   | history previous        
      | execute command         
~            | toggle variables        
[ / ]        | switch to edit mode     
alt-g        | toggle grid visualizer  
shift-d      | live dashboard          
alt- | move grid cursor        
alt-shift- | select grid area        
alt-  | emulate grid press      
alt-/        | switch grid pages       
alt-\        | toggle grid control view
alt- | insert grid x/y/w/h     

In full grid visualizer mode pressing `alt` is not required.

Edit mode

In edit mode multiple lines can be selected and used with the clipboard.

Key               | Action                                         
---------------------------------------
 / C-n      | line down            
 / C-p        | line up              
[                 | previous script      
]                 | next script          
           | enter command        
shift-     | insert command       
alt-/             | toggle line comment  
shift-        | expand selection up  
shift-      | expand selection down
alt-      | delete selection     
alt-          | move selection up    
alt-        | move selection down  
ctrl-z            | undo (3 levels)      

Tracker mode

The tracker mode clipboard is independent of text and code clipboard.

Key                  | Action                                                                                
---------------------------------------------------------------------
            | move down                                                                           
alt-        | move a page down                                                                    
              | move up                                                                             
alt-          | move a page up                                                                      
            | move left                                                                           
alt-        | move to the very left                                                               
           | move right                                                                          
alt-       | move to the very right                                                              
[                 | decrement by 1                                                                      
]                 | increment by 1                                                                      
alt-[             | decrement by 1 semitone                                                             
alt-]             | increment by 1 semitone                                                             
ctrl-[            | decrement by 7 semitones                                                            
ctrl-]            | increment by 7 semitones                                                            
shift-[           | decrement by 12 semitones                                                           
shift-]           | increment by 12 semitones                                                           
alt-<0-9>         | increment by `<0-9>` semitones (0=10, 1=11)                                         
shift-alt-<0-9>   | decrement by `<0-9>` semitones  (0=10, 1=11)                                        
       | delete a digit                                                                      
shift- | delete an entry, shift numbers up                                                   
           | commit edit (increase length if cursor in position after last entry)                
shift-     | commit edit, then duplicate entry and shift downwards (increase length as ``)
alt-x             | cut value (n.b. `ctrl-x` not supported)                                             
alt-c             | copy value (n.b. `ctrl-c` not supported)                                            
alt-v             | paste value (n.b. `ctrl-v` not supported)                                           
shift-alt-v       | insert value                                                                        
shift-l           | set length to current position                                                      
alt-l             | go to current length entry                                                          
shift-s           | set start to current position                                                       
alt-s             | go to start entry                                                                   
shift-e           | set end to current position                                                         
alt-e             | go to end entry                                                                     
-                 | negate value                                                                        
           | toggle non-zero to zero, and zero to 1                                              
0 to 9            | numeric entry                                                                       
shift-2 (`@`)     | toggle turtle display marker (`<`)                                                  
ctrl-alt          | insert knob value scaled to 0..31                                                   
ctrl-shift        | insert knob value scaled to 0..1023                                                 

Preset read mode

Key          | Action
--------------------------
 / C-n | line down   
 / C-p   | line up     
 / [   | preset down 
 / ]  | preset up   
      | load preset 

Preset write mode

Key          | Action      
------------------------------------
 / C-n | line down   
 / C-p   | line up     
[            | preset down 
]            | preset up   
      | enter text  
shift-| insert text 
alt-  | save preset 

Help mode

Key          | Action
-----------------------------
 / C-n | line down       
 / C-p   | line up         
 / [   | previous page   
 / ]  | next page       
C-f / C-s    | search forward  
C-r          | search backward