⌨️ KEYBOARD SHORTCUTS ⚙️ CONFIGURATION
! Bash mode prefix claude config list
View all settings
@ Mention files/folders
claude config set <key> <value>
\ Line break (backslash + Enter)
Change setting value
Esc Interrupt Claude
claude config add <key> <value>
Ctrl+R Full output/context Add to array settings
Ctrl+V Paste image
Esc+Esc History navigation 🌿 GIT WORKTREES
Shift+Tab Auto-accept ("yolo mode")
git worktree add ../app-feature -b feature main
Plan mode Create new worktree with branch
Shift+Tab+Tab
Cmd+Esc Quick launch in IDEs git worktree list
List all worktrees
Cmd+Opt+K Insert file references
git worktree remove <path>
Remove worktree
🚀 ESSENTIAL COMMANDS
npm install -g @anthropic-ai/claude-code
🔌 POPULAR MCP SERVERS
Install Claude Code globally
claude mcp add playwright npx @playwright/mcp@latest
claude update Browser automation
Update to latest version
claude mcp add --transport http context7 [Link]
claude config set model claude-opus-4-1-20250805 Documentation access
Set Opus 4.1 as default model
claude config set -g theme dark
Enable dark theme globally
🪝 HOOKS & AUTOMATION
Hook Events:
PreToolUse PostToolUse
⚡ SLASH COMMANDS
UserPromptSubmit Stop
SessionStart SessionEnd
/clear - Clear history /init - Initialize project
/model - Change AI model /config - View/modify config Settings Location:
~/.claude/[Link] or .claude/[Link]
/cost - Token usage stats /doctor - Health check
/agents - Manage subagents /mcp - MCP servers
/memory - Edit [Link] /permissions - Security 🤖 AI MODELS
/review - Code review /vim - Vim mode
Opus 4.1
claude-opus-4-1-20250805
📁 KEY FILE LOCATIONS
Most capable
Sonnet 4
~/.claude/[Link] claude-sonnet-4-20250514
User global settings Balanced performance
.claude/[Link] Haiku 3.5
Project settings
claude-3-5-haiku-20241022
Fastest responses
.claude/commands/
Custom slash commands
.claude/agents/
Project subagents
Get the full interactive cheatsheet at [Link]/code-cheatsheet
Claude Code is developed by Anthropic • This cheatsheet is maintained by [Link]