Advanced

Keyboard shortcuts

Moonstone includes default shortcuts for common vault, navigation, editor, and formatting actions.

5 min read

How to read shortcuts

Mod means Cmd on Mac and Ctrl on Windows, Linux, and ChromeOS. Alt appears as Option on Mac.

You can change shortcuts from Settings, then Hotkeys.

Default shortcuts

These are the default shortcuts Moonstone registers today.

AreaActionDefaultWhat it does
VaultNew noteMod+NCreate a new note in the selected folder or vault root.
VaultSave and syncMod+SSave pending local changes to the active storage location.
NavigationQuick switcherMod+OJump to a note by title.
NavigationSearch all notesMod+Shift+FSearch note titles, text, paths, and tags.
NavigationToggle graph viewMod+Shift+GSwitch between the editor and graph view.
EditorToggle previewMod+Shift+PSwitch the active note between editing and preview.
EditorInsert templateMod+Alt+TOpen the template picker at the cursor.
EditorIndentTabInsert indentation in the editor.
EditorUpload attachmentUnassignedOpen the image and PDF attachment picker.
EditorToggle Vim modeUnassignedTurn Vim keybindings on or off for the editor.
FormattingBoldMod+BWrap the selection in bold Markdown.
FormattingItalicMod+IWrap the selection in italic Markdown.
FormattingLinkMod+KInsert or wrap a Markdown link.
FormattingStrikethroughMod+Shift+XWrap the selection in strikethrough Markdown.
FormattingHeading 1Mod+Alt+1Toggle a level 1 heading.
FormattingHeading 2Mod+Alt+2Toggle a level 2 heading.
FormattingHeading 3Mod+Alt+3Toggle a level 3 heading.
FormattingBullet listMod+Shift+8Toggle a bullet list.
FormattingOrdered listMod+Shift+7Toggle an ordered list.
FormattingTask listMod+Shift+9Toggle a checklist.
FormattingQuoteMod+Shift+.Toggle a block quote.
FormattingInline codeMod+Alt+EWrap the selection in inline code.
FormattingCode blockMod+Alt+CInsert or wrap a fenced code block.
FormattingDividerUnassignedInsert a horizontal rule.
FormattingTableUnassignedInsert a Markdown table.
FormattingImageUnassignedOpen the image picker for a Markdown image.

Change a shortcut

Open Settings, choose Hotkeys, then record a new shortcut for the command you want to change.

  1. Click the current shortcut next to a command.
  2. Press the new key combination.
  3. Use Clear to remove a shortcut, Reset to restore one command, or Reset all to restore every default.
  4. Press Escape while recording to cancel.

Browser shortcut collisions

Moonstone handles shortcuts in two different ways, depending on how important the browser shortcut is.

  • Browser overlap shortcuts are allowed. Defaults like Mod+B, Mod+I, Mod+K, Mod+N, Mod+O, and Mod+S can be used by Moonstone. When the Moonstone command can run, Moonstone prevents the browser action and runs the app command.
  • Reserved shortcuts are blocked. Moonstone will not let you assign shortcuts such as F5, Alt+Left, Alt+Right, Mod+T, Mod+W, Mod+Tab, Mod+L, Mod+R, Mod+F, Mod+P, Mod+number keys, or common tab/window restore shortcuts.
  • Duplicate shortcuts are blocked. One shortcut can belong to only one Moonstone command.
  • If a shortcut is unassigned, the browser handles it normally.