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

# Keyboard shortcuts

> Complete keyboard shortcut reference for cmux

cmux is designed for keyboard-driven workflows. All shortcuts are customizable in Settings → Keyboard Shortcuts.

## Workspaces

| Shortcut                                | Action                 |
| --------------------------------------- | ---------------------- |
| <kbd>⌘</kbd> <kbd>N</kbd>               | New workspace          |
| <kbd>⌘</kbd> <kbd>1</kbd>–<kbd>8</kbd>  | Jump to workspace 1–8  |
| <kbd>⌘</kbd> <kbd>9</kbd>               | Jump to last workspace |
| <kbd>⌃</kbd> <kbd>⌘</kbd> <kbd>]</kbd>  | Next workspace         |
| <kbd>⌃</kbd> <kbd>⌘</kbd> <kbd>\[</kbd> | Previous workspace     |
| <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>W</kbd>  | Close workspace        |
| <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>R</kbd>  | Rename workspace       |
| <kbd>⌘</kbd> <kbd>B</kbd>               | Toggle sidebar         |

## Surfaces (tabs within workspace)

| Shortcut                                 | Action                 |
| ---------------------------------------- | ---------------------- |
| <kbd>⌘</kbd> <kbd>T</kbd>                | New surface (terminal) |
| <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>]</kbd>   | Next surface           |
| <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>\[</kbd>  | Previous surface       |
| <kbd>⌃</kbd> <kbd>Tab</kbd>              | Next surface           |
| <kbd>⌃</kbd> <kbd>⇧</kbd> <kbd>Tab</kbd> | Previous surface       |
| <kbd>⌃</kbd> <kbd>1</kbd>–<kbd>8</kbd>   | Jump to surface 1–8    |
| <kbd>⌃</kbd> <kbd>9</kbd>                | Jump to last surface   |
| <kbd>⌘</kbd> <kbd>W</kbd>                | Close surface          |
| <kbd>⌘</kbd> <kbd>R</kbd>                | Rename surface         |

## Split panes

| Shortcut                                            | Action                              |
| --------------------------------------------------- | ----------------------------------- |
| <kbd>⌘</kbd> <kbd>D</kbd>                           | Split right (new terminal)          |
| <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>D</kbd>              | Split down (new terminal)           |
| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>D</kbd>              | Split right (new browser)           |
| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>D</kbd> | Split down (new browser)            |
| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>←</kbd>              | Focus pane left                     |
| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>→</kbd>              | Focus pane right                    |
| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>↑</kbd>              | Focus pane up                       |
| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>↓</kbd>              | Focus pane down                     |
| <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>↩</kbd>              | Toggle pane zoom (maximize/restore) |
| <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>H</kbd>              | Flash focused panel                 |

## Browser

<Note>
  Browser shortcuts follow Safari defaults and are customizable in Settings → Keyboard Shortcuts.
</Note>

| Shortcut                               | Action                  |
| -------------------------------------- | ----------------------- |
| <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>L</kbd> | Open browser in split   |
| <kbd>⌘</kbd> <kbd>L</kbd>              | Focus address bar       |
| <kbd>⌘</kbd> <kbd>\[</kbd>             | Back                    |
| <kbd>⌘</kbd> <kbd>]</kbd>              | Forward                 |
| <kbd>⌘</kbd> <kbd>R</kbd>              | Reload page             |
| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>I</kbd> | Toggle Developer Tools  |
| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>C</kbd> | Show JavaScript Console |

## Notifications

| Shortcut                               | Action                             |
| -------------------------------------- | ---------------------------------- |
| <kbd>⌘</kbd> <kbd>I</kbd>              | Show notifications panel           |
| <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>U</kbd> | Jump to latest unread notification |

## Find

| Shortcut                               | Action                 |
| -------------------------------------- | ---------------------- |
| <kbd>⌘</kbd> <kbd>F</kbd>              | Find                   |
| <kbd>⌘</kbd> <kbd>G</kbd>              | Find next              |
| <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>G</kbd> | Find previous          |
| <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>F</kbd> | Hide find bar          |
| <kbd>⌘</kbd> <kbd>E</kbd>              | Use selection for find |

## Terminal

| Shortcut                  | Action                |
| ------------------------- | --------------------- |
| <kbd>⌘</kbd> <kbd>K</kbd> | Clear scrollback      |
| <kbd>⌘</kbd> <kbd>C</kbd> | Copy (with selection) |
| <kbd>⌘</kbd> <kbd>V</kbd> | Paste                 |
| <kbd>⌘</kbd> <kbd>+</kbd> | Increase font size    |
| <kbd>⌘</kbd> <kbd>-</kbd> | Decrease font size    |
| <kbd>⌘</kbd> <kbd>0</kbd> | Reset font size       |

## Window

| Shortcut                               | Action               |
| -------------------------------------- | -------------------- |
| <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>N</kbd> | New window           |
| <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>P</kbd> | Command palette      |
| <kbd>⌘</kbd> <kbd>O</kbd>              | Open folder          |
| <kbd>⌘</kbd> <kbd>,</kbd>              | Settings             |
| <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>,</kbd> | Reload configuration |
| <kbd>⌘</kbd> <kbd>Q</kbd>              | Quit                 |

## Customizing shortcuts

Change any shortcut in Settings → Keyboard Shortcuts:

1. Open Settings (<kbd>⌘</kbd> <kbd>,</kbd>)
2. Navigate to Keyboard Shortcuts
3. Click the shortcut button next to the action you want to change
4. Press your desired key combination
5. Press <kbd>Esc</kbd> to cancel or click away to save

<Warning>
  Keyboard shortcuts require at least one modifier key (Command, Option, Shift, or Control). Plain letter keys without modifiers are not allowed.
</Warning>

### Shortcut conflicts

cmux does not validate for conflicts when you customize shortcuts. If you assign the same shortcut to multiple actions:

* The first matching action in the responder chain wins
* Terminal shortcuts generally have lower priority than app-level shortcuts
* You may need to resolve conflicts manually

### Resetting shortcuts

Reset shortcuts to defaults:

* Click "Reset All" in Settings → Keyboard Shortcuts to restore all defaults
* Reset individual shortcuts by editing and pressing <kbd>Backspace</kbd>

## Arrow key modifiers

Arrow key shortcuts use special handling:

* <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>←</kbd> <kbd>→</kbd> <kbd>↑</kbd> <kbd>↓</kbd>: Focus pane directionally
* Plain arrow keys are passed to the terminal for shell navigation

## Tab navigation shortcuts

<Info>
  The Tab key (<kbd>⌃</kbd> <kbd>Tab</kbd>) cycles through surfaces, not workspaces. Use <kbd>⌃</kbd> <kbd>⌘</kbd> <kbd>]</kbd> / <kbd>\[</kbd> for workspace navigation.
</Info>

## Recording shortcuts

When recording a custom shortcut:

1. Click the shortcut button in Settings
2. Press the desired key combination
3. Only certain keys are recordable:
   * Letters (a-z)
   * Numbers (0-9)
   * Symbols (via keyCode mapping: `[]{}\;',./` etc.)
   * Arrow keys, Tab, Return
4. At least one modifier (⌘⌥⇧⌃) is required

Unsupported keys (function keys, media keys, etc.) are not recordable.
