Sanity Studio keyboard shortcuts

A comprehensive reference guide to keyboard shortcuts available in Sanity Studio for faster navigation and editing.

Sanity Studio includes keyboard shortcuts to help you work more efficiently. These shortcuts provide quick access to common actions like navigation, document editing, and tool-specific features.

  • The ⌘ symbol represents the Command key on Mac.
  • Ctrl represents the Control key on Mac, Windows, and Linux.

Global navigation

These shortcuts work throughout Sanity Studio regardless of which tool or document you're working in.

  • Open global search: ⌘+K (Mac) / Ctrl+K (Windows/Linux)
  • Close search or dialogs (when active): Escape

Document actions

Use these shortcuts when working with documents in the Structure tool.

  • Delete document: Ctrl+Option+D (Mac) / Ctrl+Alt+D (Windows/Linux)
  • Inspect document: Ctrl+Option+I (Mac) / Ctrl+Alt+I (Windows/Linux)
  • Publish document: Ctrl+Option+P (Mac) / Ctrl+Alt+P (Windows/Linux)
  • Open preview (when document.productionUrl is configured): Ctrl+Option+O (Mac) / Ctrl+Alt+O (Windows/Linux)
  • Show autosave reminder: ⌘+S (Mac) / Ctrl+S (Windows/Linux) Note: Documents are automatically saved as you edit them. You do not need to save them manually.

Portable Text Editor

These shortcuts are available when editing rich text content in Portable Text fields. The bold, italic, underline, and inline code shortcuts work only when the field's schema includes the matching decorator (strong, em, underline, or code).

Basic formatting

  • Toggle bold: ⌘+B (Mac) / Ctrl+B (Windows/Linux)
  • Toggle italic: ⌘+I (Mac) / Ctrl+I (Windows/Linux)
  • Toggle underline: ⌘+U (Mac) / Ctrl+U (Windows/Linux)
  • Toggle inline code formatting: ⌘+' (Mac) / Ctrl+' (Windows/Linux)
  • Toggle fullscreen mode: ⌘+Enter (Mac) / Ctrl+Enter (Windows/Linux)

You can also use a variety of text-based shortcut behaviors. See the Portable Text Editor configuration documentation for more details.

Vision tool (GROQ Playground)

Use this shortcut in the Vision tool to run queries.

  • Execute GROQ query: ⌘+Enter or Ctrl+Enter (Mac) / Ctrl+Enter (Windows/Linux)

Presentation tool (Visual Editing)

  • Toggle visual editing overlay: Hold Option (Mac) / Alt (Windows/Linux)
  • Toggle visual editing overlay: ⌘+\ (Mac) / Ctrl+\ (Windows/Linux)
  • Go to the URL entered in the preview location field: Enter

Shopify plugin

If you have the Shopify plugin installed, these additional shortcuts are available.

  • Shopify delete action: Ctrl+Option+D (Mac) / Ctrl+Alt+D (Windows/Linux)
  • Shopify link action: Ctrl+Option+E (Mac) / Ctrl+Alt+E (Windows/Linux)

Was this page helpful?

sanity.ioAll Systems Operational© Sanity 2026
Change site theme