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.

Main bindings

Bindings are shown with macOS modifiers. Evaluation can also use the Control equivalent of Cmd+Return.

ActionBinding
Evaluate current formCmd+Return
Evaluate bufferCmd+Shift+Return
Evaluate selectionCmd+Shift+E
Show keybinding helpCmd+/ or Cmd+Shift+/
Open Sample Explorer (modal)Cmd+P
Switch the inspector pane between Inspector and SamplesF6
Show and focus SamplesCmd+Option+P
Open file pickerCmd+O
SearchCmd+F or Ctrl+S
Next / previous search matchCmd+G / Cmd+Shift+G; Ctrl equivalents
Guarded code reloadCmd+Shift+R
Toggle canvasCmd+B
Toggle ghost hintsCtrl+Option+G
Toggle keyword dropdownsCmd+Option+; or Ctrl+Option+;
Borderless desktop fullscreenF10
Zen / performance layoutF11

Keys inside particular features

ContextKeyEffect
Search entryEscapeCloses the entry field and retains the query for repeated search
EditorCmd+Option+GGo to line
EditorCmd+; 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 snippetTabAdvances to the next argument position; exits after the last one
Signature snippetShift+TabMoves to the previous argument position
Knob or sliderModifier with a dragSee the gesture table in Inline controls
Piano roll or punch cardCommand while paintingEvaluates 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.

Stem recommendations in the editor

These editor keys request and accept PHALAR recommendations at a typed stem or part selector. They work in zen, without opening the Samples tab.

ActionBinding
Request fits at the stem or part selector under the cursorShift+Return
Next / previous rankCtrl+Shift+N / Ctrl+Shift+P
Accept the fixed source coordinates without evaluating or auditioningOption+Shift+Return
Evaluate the edited formCmd+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

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.

Samples pane

While the inspector has focus and its Samples tab is active, these keys belong to the pane rather than to the editor:

KeyEffect
Up / DownSelect the previous / next result silently; the selection wraps
Page Up / Page DownMove the selection by five results
Home / EndSelect the first / last result
SpaceOutside search, start or stop a native preview
ReturnInsert the selected source at the editor cursor, without evaluating
Shift+ReturnRequest recommendations for the stem or part at the editor cursor
Tab or /Enter search; Tab also leaves it
EscapeLeave search; outside search, stop this pane’s preview
Left / RightOutside search, choose the role for the next recommendation request
Cmd+F or Ctrl+FFocus search
Cmd+V or Ctrl+VPaste 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

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.

Window sizes and layouts

Studio supports different window sizes; the visual renderer is not fixed to one resolution.

LayoutWhat it shows
Performance layoutCan put the code over the visual canvas
Development layoutExposes 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

Documentation

Search the documentation

Results update as you type. Use the up and down arrow keys to choose a result and Enter to open it.