Obsidian gives you access to many of the commands in Obsidian directly from your keyboard. The Command palette lets you run any command from the same interactive window. You can also explore the all available commands and their respective keyboard shortcuts.

To run a command from the Command palette:

1. Press Ctrl+P (or Cmd+P on macOS) to open the Command palette.
2. Type the name of the command you want to run.
3. Navigate to the command using the arrow keys.
4. Press Enter.

> **Tip:** The Command palette supports _fuzzy matching_, which lets you search commands even if you don't know their exact names. For example, type "scf" to find the "**S**ave **c**urrent **f**ile" command.

## Pinned commands

You can pin frequently used commands at the top of the Command palette to quickly access them without having to type their name.

> **Tip:** If you want to quickly run frequently used commands, you can also [[Custom hotkeys#Setting hotkeys|set hotkeys]] for them.

### Pin a command

1. Open **Settings**.
2. In the sidebar, click **Command palette** under **Plugin options**.
3. Next to **New pinned command**, click **Select a command**.
4. Select the command you want to pin from the list.
5. Press Enter.

### Unpin a command

1. Open **Settings**.
2. In the sidebar, click **Command palette** under **Plugin options**.
3. Under **Pinned commands**, click the cross icon next to the command you want to unpin.
