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

# Keyboard Shortcuts

> Speed up your workflow with keyboard shortcuts

# Keyboard Shortcuts

Master these shortcuts to build faster in Nativeline.

***

## Chat Interface

| Shortcut        | Action                               |
| --------------- | ------------------------------------ |
| **Enter**       | Send message                         |
| **Shift+Enter** | New line in message                  |
| **Cmd+Enter**   | Quick send                           |
| **Escape**      | Stop AI / Cancel                     |
| **#**           | Open Toolkit popover (attach assets) |
| **/**           | Open slash commands menu             |

***

## Code Editor (Pro)

| Shortcut        | Action         |
| --------------- | -------------- |
| **Cmd+S**       | Save file      |
| **Cmd+Z**       | Undo           |
| **Cmd+Shift+Z** | Redo           |
| **Cmd+F**       | Find in file   |
| **Cmd+G**       | Find next      |
| **Cmd+Shift+G** | Find previous  |
| **Cmd+/**       | Toggle comment |
| **Cmd+]**       | Indent right   |
| **Cmd+\[**      | Indent left    |
| **Cmd+A**       | Select all     |
| **Cmd+C**       | Copy           |
| **Cmd+V**       | Paste          |
| **Cmd+X**       | Cut            |

***

## Embedded Simulator (iPhone & iPad)

| Shortcut            | Action                 |
| ------------------- | ---------------------- |
| **Cmd+Shift+H**     | Home button            |
| **Cmd+Left Arrow**  | Rotate left            |
| **Cmd+Right Arrow** | Rotate right           |
| **Cmd+K**           | Toggle keyboard        |
| **Cmd+S**           | Screenshot             |
| **Cmd+R**           | Reboot device          |
| **Cmd+Shift+A**     | Toggle slow animations |
| **Cmd+1**           | Scale to 100%          |
| **Cmd+2**           | Scale to 75%           |
| **Cmd+3**           | Scale to 50%           |
| **Cmd+4**           | Scale to 33%           |
| **Cmd+5**           | Scale to 25%           |

### Simulator Interactions

| Action          | How                            |
| --------------- | ------------------------------ |
| Tap             | Click                          |
| Scroll          | Two-finger swipe or click-drag |
| Swipe           | Click and drag                 |
| Long press      | Click and hold                 |
| Pinch/Zoom      | Option + drag                  |
| Two-finger drag | Option + Shift + drag          |

***

## General Mac

| Shortcut        | Action                       |
| --------------- | ---------------------------- |
| **Cmd+,**       | Preferences                  |
| **Cmd+Q**       | Quit application             |
| **Cmd+W**       | Close window                 |
| **Cmd+M**       | Minimize                     |
| **Cmd+Tab**     | Switch apps                  |
| **Cmd+\`**      | Switch windows (same app)    |
| **Cmd+Shift+4** | Screenshot selection         |
| **Cmd+Shift+5** | Screenshot/Recording options |

***

## Quick Actions

### Toolkit

Type `#` in chat to open the Toolkit popover and attach assets (images, fonts, colors, data, sounds, videos, animations, 3D models).

### Clear Plan

Type `/planclear` in chat to clear the current AI plan.

### Commands

Type `/` in chat to see available commands.

***

## Tips for Speed

<AccordionGroup>
  <Accordion title="Send messages quickly" icon="bolt">
    Use **Enter** to send immediately. No need to click the send button.
  </Accordion>

  <Accordion title="Multi-line messages" icon="align-left">
    **Shift+Enter** creates a new line without sending. Write longer, formatted prompts.
  </Accordion>

  <Accordion title="Stop runaway builds" icon="stop">
    Press **Escape** to stop the AI if something's going wrong.
  </Accordion>

  <Accordion title="Quick code saves" icon="floppy-disk">
    **Cmd+S** saves and triggers rebuild. Make it automatic muscle memory.
  </Accordion>

  <Accordion title="Navigate Simulator quickly" icon="mobile">
    **Cmd+Shift+H** for home is faster than clicking the home indicator.
  </Accordion>

  <Accordion title="Attach assets instantly" icon="hashtag">
    Type **#** to open the Toolkit popover. Pick a command, select your file, and it's attached as a chip.
  </Accordion>
</AccordionGroup>

***

## Customization

Currently, keyboard shortcuts cannot be customized. This may be available in future updates.

***

## Printing This Page

For quick reference, you can print this page or save it as PDF:

* **Cmd+P** → Save as PDF

***

## Related

<CardGroup cols={2}>
  <Card title="Chat Interface" icon="comments" href="/features/chat-interface">
    Master the primary workspace
  </Card>

  <Card title="Toolkit" icon="hashtag" href="/toolkit/overview">
    All # commands for attaching assets
  </Card>

  <Card title="Embedded Simulator" icon="mobile" href="/features/embedded-simulator">
    Testing your app
  </Card>

  <Card title="Code Editor" icon="code" href="/features/code-editor">
    Pro feature for editing code
  </Card>
</CardGroup>
