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

# Code & Context Shortcuts

> Keyboard shortcuts for managing code interactions and chat context

<Frame>
  <img src="https://mintcdn.com/alex/MU0ta-NVGMnBtJHm/images/shortcuts-settings.png?fit=max&auto=format&n=MU0ta-NVGMnBtJHm&q=85&s=db23b36575bfc74723943000d34f07cf" alt="Essential shortcuts demo" width="1422" height="906" data-path="images/shortcuts-settings.png" />
</Frame>

<Note>
  These shortcuts can be customized by clicking on any default shortcut in the Settings panel.
</Note>

* **Command + L**: Start a new chat with your selected code
* **Command + Shift + L**: Add selected code to your current chat
* **Command + N**: Create a fresh chat (without code)
* **Command + Delete**: Stop the current generation

<Note>
  Just getting started? The **Command + L** shortcut is essential for starting AI chats about your code directly from Xcode.
</Note>
