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

# Key Bindings

Skip the mouse and stay on the keyboard.

<Tabs>
  <Tab title="Mac">
    `⌥ + J` -- Starts a new chat conversation with the AI, and adds highlighted code, if any.

    `⌥ + K`-- Focused on the current chat conversation, and adds highlighted code, if any.

    `⌥ + L` -- Generates an autocomplete suggestion mid-line.
  </Tab>

  <Tab title="Windows & Linux">
    `Alt + J` -- Starts a new chat conversation with the AI, and adds highlighted code, if any.

    `Alt + K` -- Focused on the current chat conversation, and adds highlighted code, if any.

    `Alt + L` -- Generates an autocomplete suggestion mid-line.
  </Tab>
</Tabs>

***

### Personalization

If you'd like to reconfigure the default key bindings, or if you have an international keyboard layout that may not be compatible with the default key bindings, you can do so by:

<Steps>
  <Step title="Open the Command Palette">
    In VS Code, open the Command Palette (`Ctrl + Shift + P` on Windows/Linux or `⌘ + Shift + P` on Mac).
  </Step>

  <Step title="Open keyboard shortcuts">
    Type `Preferences: Open Keyboard Shortcuts` and press `Enter`.

    <img className="block h-48 ml-0 dark:hidden" height="140" src="https://mintcdn.com/double/-SaQhWM0WaCkpz-i/images/keybindings_1_light.png?fit=max&auto=format&n=-SaQhWM0WaCkpz-i&q=85&s=086f25353386c3d8f8e16a0e20c0e031" data-path="images/keybindings_1_light.png" />

    <img className="hidden h-48 ml-0 dark:block" height="140" src="https://mintcdn.com/double/-SaQhWM0WaCkpz-i/images/keybindings_1_dark.png?fit=max&auto=format&n=-SaQhWM0WaCkpz-i&q=85&s=56598b5f51795a0665f1c1c848e9fb33" data-path="images/keybindings_1_dark.png" />
  </Step>

  <Step title="Find and remap command">
    Search for the command you want to remap and double-click on it to remap it.

    <img className="block h-48 ml-0 dark:hidden" height="140" src="https://mintcdn.com/double/-SaQhWM0WaCkpz-i/images/keybindings_2_light.png?fit=max&auto=format&n=-SaQhWM0WaCkpz-i&q=85&s=5dce52723a4d620e559733ab32f83dd7" data-path="images/keybindings_2_light.png" />

    <img className="hidden h-48 ml-0 dark:block" height="140" src="https://mintcdn.com/double/-SaQhWM0WaCkpz-i/images/keybindings_2_dark.png?fit=max&auto=format&n=-SaQhWM0WaCkpz-i&q=85&s=eea515b8e0083b540a33b91e9f8692ce" data-path="images/keybindings_2_dark.png" />
  </Step>
</Steps>

Below a list of all of the relevant commands you may want to replace:

`editor.action.inlineSuggest.trigger` -- For the mid-line autocomplete suggestion.

`doublebot.newConvo` -- For starting a new chat conversation with the AI.

`doublebot.addSelectionToNewConvo` -- For starting a new chat conversation with the AI including the highlighted code.

`doublebot.addselectionToChat` -- For adding the highlighted code to the current chat conversation.

`doublebot.focusCurrentChat` -- For focusing on the current chat conversation.

There are additional commands that have no default keybinding but may want to enable for your convenience:

`doublebot.nextConvo` -- For navigating to the next chat conversation.

`doublebot.prevConvo` -- For navigating to the previous chat conversation.
