# /keybindings Command

> It opens the file where you set which keys do what.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** /keybindings, keybindings.json, Custom shortcuts

## Think of it like

It is like you choose which button on the remote does what.

## Definition

/keybindings opens your keyboard shortcuts file, ~/.claude/keybindings.json, so you can change which keys do what in Claude Code. You can move an action to a new key, add a chord of two key presses, or turn a shortcut off. Changes apply the next time you start Claude Code.

## Example

Lucy's terminal uses Ctrl+T for new tabs, and so does Claude Code. She opens /keybindings and moves that one to a new key.

## Example code

```console
/keybindings
```

Open your shortcuts file.

## Why it matters

Keys that fight with your terminal slow you down each day.

## Common mistake

Editing the file and expecting the change at once in the open session. Restart Claude Code to load it.

## Three principles

- **One file.** keybindings.json.
- **Move or add.** Keys and chords.
- **Or turn off.** A shortcut you do not want.

## Related terms

- [/terminal-setup Command](https://learn.benibix.com/term/ai/terminal-setup-command)
- [/config Command](https://learn.benibix.com/term/ai/config-command)
- [/theme Command](https://learn.benibix.com/term/ai/theme-command)

## Taught in

- [Theme, View and IDE](https://learn.benibix.com/learn/ai-claude-code-commands/theme-view-and-ide): Claude Code Commands, 10/17

---

Source: https://learn.benibix.com/term/ai/keybindings-command
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
