> ## Documentation Index
> Fetch the complete documentation index at: https://ami.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Shortcuts

> Keyboard shortcuts and command palette

## Essential Shortcuts

| Action        | macOS             | Windows/Linux      |
| :------------ | :---------------- | :----------------- |
| Send message  | `Cmd+Enter`       | `Ctrl+Enter`       |
| Queue message | `Cmd+Shift+Enter` | `Ctrl+Shift+Enter` |
| Stop response | `Ctrl+C`          | `Ctrl+C`           |
| New chat      | `Cmd+Shift+N`     | `Ctrl+Shift+N`     |

## Navigation

| Action          | macOS         | Windows/Linux  |
| :-------------- | :------------ | :------------- |
| Command palette | `Cmd+K`       | `Ctrl+K`       |
| Toggle editor   | `Cmd+E`       | `Ctrl+E`       |
| Toggle sidebar  | `Cmd+B`       | `Ctrl+B`       |
| Semantic search | `Cmd+Shift+F` | `Ctrl+Shift+F` |

## Mode & Model

| Action                   | Shortcut    |
| :----------------------- | :---------- |
| Toggle mode (Agent/Plan) | `Shift+Tab` |
| Cycle models             | `Shift+Esc` |

## Command Palette

Open with `Cmd+K` (macOS) or `Ctrl+K` (Windows/Linux). The command palette is your quick-access hub.

## Actions

* Switch between recent chats
* Switch between projects
* Open settings
* Toggle code editor
* Toggle review mode

## Semantic Code Search

Type `>` in the command palette to search your codebase by meaning, not exact text.

### Example Queries

```
>how does user authentication work
```

```
>where do we handle API errors
```

```
>database connection setup
```

Results show matching code snippets with file paths and line numbers. Select a result to open it in the editor.

<Note>
  Semantic search requires your codebase to be indexed. ami prompts you to index
  if needed, it takes a few minutes for large codebases.
</Note>
