DocsKeyboard Shortcuts

    Keyboard Shortcuts

    3 min read

    Keyboard shortcuts for the editor, AI features and presentation mode.

    These shortcuts work in the editor. On Mac use ⌘; on Windows and Linux use Ctrl. The command palette lists every action and is the fastest way to find the rest.

    Editor

    ActionMacWindows / Linux
    Command palette (every action)⌘KCtrl+K
    Save⌘SCtrl+S
    Undo⌘ZCtrl+Z
    Redo⌘⇧ZCtrl+Shift+Z / Ctrl+Y
    Find in code⌘FCtrl+F
    Find and replace⌘HCtrl+H
    Toggle comment⌘/Ctrl+/
    IndentTabTab
    Leave full screen / dismissEscEsc

    AI Features

    ActionMacWindows / Linux
    Generate with AI (in the prompt bar)⌘↵Ctrl+Enter
    Generate documentation⌘⇧DCtrl+Shift+D
    Suggest the next line (autocomplete)⌘→Ctrl+→
    Accept suggestionTabTab
    Dismiss suggestionEscEsc

    Refine, Refine Styles, Explain, the AI chat and the other AI actions are in the command palette (⌘K / Ctrl+K).

    ActionHow
    Select a node or an arrowClick it
    Create a nodeDouble-click the canvas
    Create an arrowShift + drag from one node to another
    Zoom / panUse the on-canvas controls, or scroll and drag

    Presentation Mode

    ActionKey
    Toggle Presenter View (Pro)P
    Select a node / clear selectionClick a node / click empty space
    Clear selection, then exitEsc