Throughout this page, we use ⌘ to represent Cmd on Mac or Ctrl on Windows/Linux.
Global Shortcuts
These shortcuts work anywhere in Primo, except when a dialog is open:Page View Shortcuts
While viewing a page in the editor:Section & Block Editor Dialog
While editing a section or block in the dialog:
Code Editor (when in the Code tab):
The current block editor uses one Svelte code pane. Shortcuts for switching between separate HTML, CSS, and JavaScript panes do not apply.
Primo uses CodeMirror for code editing. Some standard code editor shortcuts may work, but they’re not guaranteed.
Site Editor Dialog
While editing site configuration:Tips for Efficiency
Hold the modifier key to see available shortcuts
Hold the modifier key to see available shortcuts
When you hold ⌘/Ctrl, Primo shows you contextual hints for what shortcuts are available in your current view.
Refresh the code preview with ⌘R
Refresh the code preview with ⌘R
While the block code editor has focus, press ⌘R to refresh its preview.
Use ⌘E to bounce between code and content
Use ⌘E to bounce between code and content
When editing blocks, quickly switch between writing code and previewing content without reaching for the mouse.
Publish often with ⌘P
Publish often with ⌘P
Make it a habit to publish frequently. Press once to open the dialog, press again to publish. Quick iterations help catch issues early.
Next Steps
Publishing
Learn about the publishing workflow
Using the Editor
Master the page editor interface