Reference
Keybindings and presentation
Mora Studio keybindings, focus-specific overrides, fullscreen and zen presentation, and window layouts.
This page lists Mora Studio’s keybindings and explains how fullscreen, zen, and window layouts change what is on screen.
Bindings are shown with macOS modifiers. Evaluation can also use the Control equivalent of Cmd+Return.
| Action | Binding |
|---|---|
| Evaluate current form | Cmd+Return |
| Evaluate buffer | Cmd+Shift+Return |
| Evaluate selection | Cmd+Shift+E |
| Show keybinding help | Cmd+/ or Cmd+Shift+/ |
| Open Sample Explorer (modal) | Cmd+P |
| Switch the inspector pane between Inspector and Samples | F6 |
| Show and focus Samples | Cmd+Option+P |
| Open file picker | Cmd+O |
| Search | Cmd+F or Ctrl+S |
| Next / previous search match | Cmd+G / Cmd+Shift+G; Ctrl equivalents |
| Guarded code reload | Cmd+Shift+R |
| Toggle canvas | Cmd+B |
| Toggle ghost hints | Ctrl+Option+G |
| Toggle keyword dropdowns | Cmd+Option+; or Ctrl+Option+; |
| Borderless desktop fullscreen | F10 |
| Zen / performance layout | F11 |
| Context | Key | Effect |
|---|---|---|
| Search entry | Escape | Closes the entry field and retains the query for repeated search |
| Editor | Cmd+Option+G | Go to line |
| Editor | Cmd+; or Ctrl+; | Toggles a ;; comment on every complete selected line, as one undo step; it uncomments only when every nonblank selected line is already commented |
| Signature snippet | Tab | Advances to the next argument position; exits after the last one |
| Signature snippet | Shift+Tab | Moves to the previous argument position |
| Knob or slider | Modifier with a drag | See the gesture table in Inline controls |
| Piano roll or punch card | Command while painting | Evaluates the associated form once on release |
Search, snippets, and the keyword popup are described in Discovering forms. Sample Explorer is described in Samples and slicing, and the Samples tab in Samples inspector.
These editor keys request and accept PHALAR recommendations at a typed stem or part selector. They work in zen, without opening the Samples tab.
| Action | Binding |
|---|---|
Request fits at the stem or part selector under the cursor | Shift+Return |
| Next / previous rank | Ctrl+Shift+N / Ctrl+Shift+P |
| Accept the fixed source coordinates without evaluating or auditioning | Option+Shift+Return |
| Evaluate the edited form | Cmd+Return |
Shift+Return without Cmd is the request; Cmd+Shift+Return still evaluates the buffer. The rank keys use Control and stop at the first and last rank. Acceptance is one undo step. A later request replaces the previous list. The workflow is described in PHALAR stem pairing.
Focus-specific bindings override the global map. In particular, Cmd+Shift+G means previous search match in the editor; use Ctrl+Option+G for the ghost-hint toggle there.
While the inspector has focus and its Samples tab is active, these keys belong to the pane rather than to the editor:
| Key | Effect |
|---|---|
| Up / Down | Select the previous / next result silently; the selection wraps |
| Page Up / Page Down | Move the selection by five results |
| Home / End | Select the first / last result |
| Space | Outside search, start or stop a native preview |
| Return | Insert the selected source at the editor cursor, without evaluating |
| Shift+Return | Request recommendations for the stem or part at the editor cursor |
| Tab or / | Enter search; Tab also leaves it |
| Escape | Leave search; outside search, stop this pane’s preview |
| Left / Right | Outside search, choose the role for the next recommendation request |
| Cmd+F or Ctrl+F | Focus search |
| Cmd+V or Ctrl+V | Paste into search |
Unmodified letters go to the search field, so they cannot trigger mute, solo, or hush. Escape does not hush in this pane; use Cmd+Shift+. for panic while Samples has focus. See Samples inspector.
Fullscreen and zen are independent:
- Fullscreen (F10) changes the window’s presentation on the display.
- Zen (F11) changes which panes are visible.
F6 and Cmd+Option+P leave zen so that the Samples pane is visible. The editor’s stem recommendation keys work in zen.
Studio supports different window sizes; the visual renderer is not fixed to one resolution.
| Layout | What it shows |
|---|---|
| Performance layout | Can put the code over the visual canvas |
| Development layout | Exposes the console, inspector, REPL, and other panes |
Include the resolution you intend to use when you rehearse before a show.
Source references
Repository-relative paths in the Mora source where these mechanisms are implemented.
-
src/studio/keymap-global.lisp -
src/studio/keymap-editor.lisp -
src/studio/commands-toggles.lisp -
src/studio/commands-sample-browser.lisp -
src/studio/stem-suggestions-inline.lisp