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

# Keyboard Shortcuts

All available keyboard shortcuts, organized by context.

<Tip>
  Run `/help` to see this list in Embedder.
</Tip>

## Global Shortcuts

| Shortcut            | Mac                 | Action                         |
| ------------------- | ------------------- | ------------------------------ |
| `Ctrl+R`            | `Cmd+R`             | Clear conversation / New chat  |
| ``Ctrl+` ``         | ``Cmd+` ``          | Toggle serial terminal sidebar |
| `Ctrl+Alt+B`        | `Cmd+Option+B`      | Switch AI model                |
| `Shift+Tab`         | `Shift+Tab`         | Toggle plan/act mode           |
| `Ctrl+Z`            | `Cmd+Z`             | Undo last message              |
| `Ctrl+Z` (2x)       | `Cmd+Z` (2x)        | Open rewind interface          |
| `Ctrl+C` (2x)       | `Ctrl+C` (2x)       | Exit application               |
| `Ctrl+C` / `Escape` | `Ctrl+C` / `Escape` | Interrupt agent                |
| `/`                 | `/`                 | Open command suggestions       |

<Tip>
  Use `Escape` to stop Embedder when you see it going in the wrong direction. Context is preserved, so you can immediately course-correct.
</Tip>

## Chat Input

| Shortcut      | Action                                  |
| ------------- | --------------------------------------- |
| `Return`      | Submit message                          |
| `Ctrl+Return` | Insert newline                          |
| `Up` / `Down` | Navigate suggestions                    |
| `Tab`         | Complete command / drill into directory |
| `Escape`      | Cancel suggestions                      |
| `@`           | Trigger file autocomplete               |
| `!`           | Enter bash mode                         |
| `~`           | Enter send serial command mode          |

<Tip>
  Use `@` to specifically cite files you'd like Embedder to interact with.
</Tip>

## Navigation (Emacs Mode)

Emacs mode is the default navigation mode.

| Shortcut              | Action         |
| --------------------- | -------------- |
| `Ctrl+N` / `Down`     | Next item      |
| `Ctrl+P` / `Up`       | Previous item  |
| `Ctrl+F` / `Right`    | Forward        |
| `Ctrl+B` / `Left`     | Back           |
| `Ctrl+G` / `Escape`   | Cancel         |
| `Return`              | Select item    |
| `Space`               | Toggle item    |
| `Ctrl+V` / `PageDown` | Page down      |
| `Alt+V` / `PageUp`    | Page up        |
| `Ctrl+A` / `Home`     | Jump to top    |
| `Ctrl+E` / `End`      | Jump to bottom |
| `Tab`                 | Tab navigation |

## Navigation (Vim Mode)

| Shortcut              | Action         |
| --------------------- | -------------- |
| `J` / `Down`          | Next item      |
| `K` / `Up`            | Previous item  |
| `L` / `Right`         | Forward        |
| `H` / `Left`          | Back           |
| `Escape`              | Cancel         |
| `Return`              | Select item    |
| `Space`               | Toggle item    |
| `Ctrl+D` / `PageDown` | Page down      |
| `Ctrl+U` / `PageUp`   | Page up        |
| `Home`                | Jump to top    |
| `Shift+G` / `End`     | Jump to bottom |
| `Tab`                 | Tab navigation |

## Switching Keybinding Modes

Switch between Emacs and Vim navigation modes using `/keybindings` or `/kb`. Preferences are saved to `~/.embedder/keybindings.json`. Keybinding changes take effect immediately without restarting Embedder.
