keybindings-help

Solid

Customize keyboard shortcuts, rebind keys, add chord bindings, or modify ~/.claude/keybindings.json.

AI & Automation 41,770 stars 6909 forks Updated today CC0-1.0

Install

View on GitHub

Quality Score: 90/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Keybindings Skill Create or modify `~/.claude/keybindings.json` to customize keyboard shortcuts. ## CRITICAL: Read Before Write **Always read `~/.claude/keybindings.json` first** (it may not exist yet). Merge changes with existing bindings — never replace the entire file. - Use **Edit** tool for modifications to existing files - Use **Write** tool only if the file does not exist yet ## File Format ```json { "$schema": "https://www.schemastore.org/claude-code-keybindings.json", "$docs": "https://code.claude.com/docs/en/keybindings", "bindings": [ { "context": "Chat", "bindings": { "ctrl+e": "chat:externalEditor" } } ] } ``` Always include the `$schema` and `$docs` fields. ## Keystroke Syntax **Modifiers** (combine with `+`): - `ctrl` (alias: `control`) - `alt` (aliases: `opt`, `option`) — note: `alt` and `meta` are identical in terminals - `shift` - `meta` (aliases: `cmd`, `command`) **Special keys**: `escape`/`esc`, `enter`/`return`, `tab`, `space`, `backspace`, `delete`, `up`, `down`, `left`, `right` **Chords**: Space-separated keystrokes, e.g. `ctrl+k ctrl+s` (1-second timeout between keystrokes) **Examples**: `ctrl+shift+p`, `alt+enter`, `ctrl+k ctrl+n` ## Unbinding Default Shortcuts Set a key to `null` to remove its default binding: ```json { "context": "Chat", "bindings": { "ctrl+s": null } } ``` ## How User Bindings Interact with Defaults - User bindings are **additive** — they are appended after the...

Details

Author
asgeirtj
Repository
asgeirtj/system_prompts_leaks
Created
1 years ago
Last Updated
today
Language
JavaScript
License
CC0-1.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category