# Keyboard Shortcuts

Quick reference for all keyboard shortcuts in the Theme Editor.

## Editor actions

| Action | Mac Shortcut | Windows/Linux Shortcut |
|  --- | --- | --- |
| Save | `Cmd+S` | `Ctrl+S` |
| Undo | `Cmd+Z` | `Ctrl+Z` |
| Redo | `Cmd+Y` | `Ctrl+Y` |
| Open Live Storefront | `Cmd+Shift+O` | `Ctrl+Shift+O` |
| Toggle device view | `Cmd+Option+V` | `Ctrl+Alt+V` |
| Exit Theme Editor | `Cmd+Shift+E` | `Ctrl+Shift+E` |
| Toggle inspect mode | `Cmd+Shift+I` | `Ctrl+Shift+I` |
| Open notifications | `Option+N` | `Alt+N` |


## AI features

| Action | Mac Shortcut | Windows/Linux Shortcut |
|  --- | --- | --- |
| Open / Close Storefront Builder | `Cmd+K` | `Ctrl+K` |


## Tips

* `Cmd+K` / `Ctrl+K` is a quick way to open the Storefront Builder without moving your mouse: useful when you want a suggestion while editing a field.
* Undo history is persisted in local storage, so `Cmd+Z` works even after a page refresh within the same session.


## Related

* [Get Help from AI](/commerce/docs/manage-website/appearance/theme-editor/get-help-from-ai)
* [Preview & Publish](/commerce/docs/manage-website/appearance/theme-editor/preview-publish-themes)