# The Command Bar

**URL:** https://www.sketch.com/docs/interface-and-settings/the-mac-app-interface/the-command-bar/ | **Last updated:** 2026-04-07

---
The Command Bar gives you quick keyboard access to almost any action you’d find in the menu bar, including those from plugins. Over time, the Command Bar will learn your preferences and bring the actions you use regularly to the top of the results.

## Accessing the Command Bar

Press <kbd>S</kbd>, or <kbd>⌘</kbd><kbd>K</kbd>,in a document to launch the Command Bar. You’ll see a list of the default actions and their shortcuts. You can navigate items in the Command Bar using arrow keys and hit <kbd>Enter</kbd> to action them. You can also click on any action or use its shortcut.

If you see actions grayed out as you type it means the action is not available with the current selection or conditions. For instance, if you have no layers selected, actions that need layer selection like grouping, will appear grayed out.

## Using Shortcuts

The Command Bar is designed to work with keyboard shortcuts. You can use the default ones that come with Sketch or create your own in your Mac’s [System Settings](/docs/shortcuts/#creating-custom-shortcuts). To change the default shortcut that triggers the Command Bar, head to **Sketch**  > **Settings** > **General** and record your preferred one in the Command Bar section.

These are the default Command Bar shortcuts:

| Action | Shortcut |
|--------|----------|
| Launch the Command Bar | <kbd>S</kbd> or <kbd>⌘</kbd><kbd>K</kbd> |
| Insert Symbol | <kbd>Y</kbd> |
| Insert Text Style | <kbd>⌃</kbd><kbd>T</kbd> |
| Replace symbol, style, or template | <kbd>⌥</kbd><kbd>⌘</kbd><kbd>R</kbd> |
| Open filter menu | <kbd>⌘</kbd><kbd>F</kbd> |
| Open filter menu at current location | <kbd>⌘</kbd><kbd>↓</kbd> |
| Go to parent group | <kbd>⌘</kbd><kbd>↑</kbd> |
| Go to current library | <kbd>⌥</kbd><kbd>⌘</kbd><kbd>↑</kbd> |
| Go to all components | <kbd>⌃</kbd><kbd>⌥</kbd><kbd>⌘</kbd><kbd>↑</kbd> |
| Preserve current Symbol dimensions when replacing | <kbd>⌘</kbd><kbd>P</kbd> |
| Hide nested Component when replacing | <kbd>⇧</kbd><kbd>⌘</kbd><kbd>H</kbd> |

## Replacing Components

To replace a Component via the Command Bar, select it and press <kbd>⌥</kbd><kbd>⌘</kbd><kbd>R</kbd>. Then, select the Component you want to replace it with and press <kbd>↵</kbd>, double-click or click the **Replace** button in the top-right side of the window. If you’re replacing Symbols, you can also keep the current Symbol dimensions when replacing it by clicking the button.

If you’re replacing Components via the Inspector, you’ll find [a popover](/docs/symbols-and-styles/replacing/) that works similarly to the Command Bar. To use the Command Bar as the default way to replace Components, head to **Sketch** > **Settings** > **General**, and enable the option **Use the Command Bar for replacing Components**.