MDash
By Mohammad AniniLast Updated

Keyboard Shortcuts

Press ? outside editable fields, or Ctrl/⌘ + ? while typing, to open Keyboard Shortcuts. The question mark may require Shift on your keyboard. You can also open it from the command palette. If you are new to the interface, begin with Getting Started.

Ctrl/⌘ means press Ctrl on Windows or Linux and Command on macOS. Alt means Option on macOS. Some keyboards require the Fn key with function keys such as F2, F5, or F11.

Table of Contents

Common Shortcuts

These actions cover common writing and navigation tasks. Look for the corresponding control or use the command palette when a key combination is unavailable.

ShortcutAction
Ctrl/⌘ + Shift + POpen Command Palette
Ctrl/⌘ + PQuick Open Vault File
Ctrl/⌘ + FFind in the Active Document
Ctrl/⌘ + Shift + FSearch All Files
Ctrl/⌘ + Alt + NCreate New File
Ctrl/⌘ + ZUndo

App-Wide

ShortcutAction
Ctrl/⌘ + Shift + POpen Command Palette
Ctrl/⌘ + PQuick Open Vault File
Ctrl/⌘ + Shift + FSearch All Files
Ctrl/⌘ + Alt + Shift + VOpen Vault Organizer
Ctrl/⌘ + ,Open Settings
Ctrl/⌘ + ? or ? outside editable fieldsShow Keyboard Shortcuts
EscClose Dialog or Exit Focus or Presentation Mode
F11 (Windows/Linux), Control + ⌘ + F or F11 (macOS)Toggle Fullscreen
Ctrl/⌘ + .Toggle Focus Mode

In Focus Mode, Esc dismisses an active overlay first. In the editor, it simplifies the selection and enables Tab or Shift + Tab to leave the editor. Outside the editor, Esc exits Focus Mode when no overlay owns the key. Use Ctrl/⌘ + . or Exit Focus Mode to leave from either pane. Use Shift + Tab to return from the preview to the editor; forward Tab continues through the page and browser controls.

File

ShortcutAction
Ctrl/⌘ + Alt + NCreate New File
Ctrl/⌘ + Alt + Shift + NCreate New Folder
Ctrl/⌘ + OImport File from Device
Ctrl/⌘ + Alt + Shift + OImport Folder from Device

New files and folders use the default location. Inside Vault Organizer, these shortcuts use the folder shown in the breadcrumbs, including while filtering. They are unavailable in read-only folders, Trash, or another open dialog.

Tabs

ShortcutAction
Ctrl/⌘ + Alt + POpen the Searchable Open Tabs Menu
Ctrl/⌘ + Alt + [Switch to the Previous MDash Tab
Ctrl/⌘ + Alt + ]Switch to the Next MDash Tab

Search Panels

Press Ctrl/⌘ + Shift + F to open Search All Files, with Vault selected by default. Press Ctrl/⌘ + F to open Find and Replace in Editor, Split, or Stacked view, or Find in Preview in Preview view. Replacement controls appear only for editable source documents.

On MDash Docs, press / or Ctrl/⌘ + Shift + F to search across the guides. Use Ctrl/⌘ + F to find text on the current page.

KeyAction
Enter in the Search FieldNext Match in Document Search
Shift + Enter in the Search FieldPrevious Match in Document Search
Enter in the Replacement FieldReplace Next
↑ / ↓ in Search All FilesSelect Result
Enter in Search All FilesOpen Selected Result
EscClose Search or the Open Location Menu

Use Tab and Shift + Tab to move between search controls. In Search All Files, Tab moves from the search field to Search In and its options, keeping focus inside the dialog. Esc closes an open location menu first. Press it again to close search.

Case Sensitive, Whole Word, and Regex are shared workspace preferences. See Working with the Vault for matching, replacement, and status details.

Editor

ShortcutAction
Ctrl/⌘ + ZUndo
Ctrl + Y (Windows/Linux), ⌘ + Shift + Z (macOS)Redo
Ctrl + Shift + Z (Windows/Linux)Redo Alias
Ctrl/⌘ + FFind in the Active Document or Preview
Ctrl/⌘ + BBold
Ctrl/⌘ + IItalic
Ctrl/⌘ + Shift + XStrikethrough
Ctrl/⌘ + KInsert or Edit Link
Ctrl/⌘ + Shift + 7Numbered List
Ctrl/⌘ + Shift + 8Bullet List
Ctrl/⌘ + Shift + 9Task List
Ctrl/⌘ + Alt + CInsert Code Block
Ctrl/⌘ + Alt + Shift + DInsert Diagram
Ctrl/⌘ + Alt + TInsert Table of Contents
Ctrl/⌘ + Alt + 1 … Ctrl/⌘ + Alt + 6Heading 1 through 6
Ctrl/⌘ + Alt + 0Convert Selected Headings to Paragraphs
TabIndent Current or Selected List Items
Shift + TabOutdent Current or Selected List Items
Escape, Then TabLeave the Editor
Escape, Then Shift + TabLeave the Editor Backward
Ctrl/⌘ + Shift + MEdit Document Metadata

Applying the same inline formatting, heading, quote, bullet-list, numbered-list, or task-list action again removes that formatting. Applying a different list action converts the existing list marker instead of nesting another marker.

In editable previews, Tab focuses task checkboxes and Space toggles the focused task. Undo and Redo also work while the preview is focused, including in Preview view. Each checkbox toggle is a separate step in the document's editing history.

Editor Selection and Lines

ShortcutAction
Ctrl/⌘ + GGo to Line
F3 / Shift + F3Next or Previous Search Match
Ctrl/⌘ + DSelect Next Matching Occurrence
Ctrl/⌘ + Shift + LSelect All Matching Occurrences
Ctrl/⌘ + Shift + \Go to Matching Bracket
Ctrl/⌘ + [ / Ctrl/⌘ + ]Outdent or Indent
Ctrl/⌘ + Alt + \Reindent Selection
Alt + ↑ / Alt + ↓Move Line Up or Down
Alt + Shift + ↑ / Alt + Shift + ↓Copy Line Up or Down
Ctrl/⌘ + Alt + ↑ / Ctrl/⌘ + Alt + ↓Add Cursor Above or Below
Ctrl/⌘ + Shift + KDelete Line
Ctrl/⌘ + EnterInsert Blank Line
Ctrl/⌘ + UUndo Selection
Alt + U (Windows/Linux), ⌘ + Shift + U (macOS)Redo Selection
Ctrl + SpaceOpen Wiki-Link Suggestions Inside a Wiki-Link

In Go to Line, enter 12:3 for line 12, column 3, +5 to go down five lines, or 50% to go halfway through the file. This moves the cursor without editing the document.

Normal cursor movement, selection, and text-deletion keys follow platform conventions. Autocomplete uses arrow keys or PageUp / PageDown to select a suggestion, Enter to accept it, and Esc to close it.

Dialog Confirmation

Press Ctrl/⌘ + Enter to run the primary action in dialogs that support it, including New File, Rename, Code Block, and Diagram. When the document editor has focus, the same shortcut inserts a blank line.

Single-line forms also use Enter to submit. In multiline fields, Enter inserts a new line. In Table Builder, it moves to the next row and adds a row at the end. For destructive confirmations, focus the action and press Enter or Space.

View

ShortcutAction
Ctrl/⌘ + Alt + VToggle Vault Panel
Ctrl/⌘ + Alt + OToggle Outline Panel
Ctrl/⌘ + Alt + LToggle Links Panel
F5Start Presentation Mode

The panel family uses V for Vault, O for Outline, and L for Links. Shift distinguishes Organizer and Import Folder from the corresponding panel shortcuts.

Document search follows view changes within the same document. Editor, Split, and Stacked views search source and offer replacement for editable files; Preview searches rendered text. See Working with the Vault for the complete search workflow.

File Tree

ShortcutAction
F2Rename Selected Item
Delete / BackspaceMove Selected Item to Trash
Enter / SpaceOpen File or Toggle Folder
→Expand Folder
←Collapse Folder
↑ / ↓, Home / EndNavigate Tree Rows
Shift + F10 / Context Menu KeyOpen Selected Item's Menu

Vault Organizer

ShortcutAction
Ctrl/⌘ + ASelect All Visible Items
Ctrl/⌘ + CCopy Selected Items
Ctrl/⌘ + XCut Selected Editable Items
Ctrl/⌘ + VPaste into the Current Folder
F2Rename One Selected Editable Item
Delete (also Backspace on macOS)Move Selected Editable Items to Trash
Alt + Left / Backspace on Windows and Linux; ⌘ + [ on macOSGo Back in Organizer
Alt + Up on Windows and Linux; ⌘ + Up on macOSGo Up One Level
EnterOpen the Selected File or Folder
↑ / ↓, Home / EndSelect Previous, Next, First, or Last Item
Shift + ↑ / Shift + ↓Extend the Selected Range
Shift + Home / Shift + EndExtend Selection to the First or Last Item
SpaceToggle the Current Item's Selection

Focus the contents list to use selection and editing shortcuts. In Trash, the deletion shortcut opens the permanent deletion confirmation. Back and Up are available elsewhere in the Organizer dialog outside text fields and menus. Back restores the previous location, filter, and scroll position. Up opens the current folder's parent.

The Vault Organizer Guide explains multi-selection, destinations, conflict decisions, and Trash recovery.

Presentation Mode

The full slide workflow is covered in Presentation Mode.

ShortcutAction
→ / Space / PageDown / LNext Slide
← / Shift + Space / PageUp / HPrevious Slide
↑ / ↓Scroll the Current Slide
Home / EndFirst or Last Slide
FToggle Fullscreen
BToggle Blank Screen
PToggle Pointer
+ or = / - or _ / 0Zoom In, Zoom Out, or Reset
EscExit Presentation

Presentation shortcuts use unmodified keys, except Shift+Space for the previous slide and Shift when required to type a zoom symbol. They defer to focused interactive controls.

With a mouse, trackpad, or pen available as a precise pointer, P switches between Cursor and the last-used Laser Pointer, Spotlight, or Reading Guide.

Command Palette Tips

  • Type part of an action name to filter the list.
  • Most actions show their bound shortcut on the right; if no shortcut is shown, the command has no assigned shortcut.
  • Use Up / Down arrows to navigate, Enter to run.

Accessibility and Browser Conflicts

Shortcuts supplement visible controls rather than replace them. Buttons, menus, dialogs, the file tree, tabs, and search results remain keyboard reachable. Focus indicators show the active control, and Esc closes the current overlay or exits Focus and Presentation modes when applicable.

Some browser, operating-system, and assistive-technology shortcuts take precedence over page shortcuts. If a combination does not reach MDash, use the corresponding visible control or command palette action. The browser handles Ctrl/⌘ + N, Ctrl/⌘ + W, Ctrl/⌘ + Shift + T, and Ctrl/⌘ + Tab for its own windows and tabs.

Opening an action menu focuses its first item. Use ↑ / ↓ to navigate, Home / End to jump, and Enter or Space to activate. → opens a submenu; ← returns to its parent. Esc closes the current level and returns focus to its opener. Tab or Shift + Tab closes the menu and continues after or before its trigger, within the current dialog when applicable.

Select fields use arrow keys to navigate options, Enter to commit, and Esc to cancel. Tab leaves the field. Searchable fields preserve normal text-editing keys.