Skip to content

Claude Code

Claude Code now supports custom keyboard shortcuts

Written by an AI model from the linked sources and checked against them by a second model. How we work

All about: Claude Code versions and changes →
Image: code.claude.com

The developers added a way to override keyboard shortcuts through a configuration file ~/.claude/keybindings.json. Users can assign actions to various contexts like chat, tab navigation, history, or diff viewing.

The configuration uses a JSON object with an array of bindings. Users can add new shortcuts or disable standard ones by setting the action to null. The system supports modifiers like ctrl, shift, alt, meta, and cmd, as well as key chords.

The system automatically checks the file for errors, conflicts with terminal multiplexers, or reserved commands. The /doctor command lists current warnings. Detailed documentation and schema are linked within the config file.

No comments yet. Be the first.

Join the conversation

Sign in to leave a comment. It appears after moderation.