Navigation Explore Code Guide
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Shift+Tab | Cycle permission mode (Manual, acceptEdits, Plan) |
Ctrl+O | Toggle verbose transcript |
Ctrl+C | Interrupt generation |
Esc | Cancel current action |
β / β | Message history |
Tab | Path completion |
Core Slash Commands
/help Help and available commands/clear Clear context (reset)/compact Compress history/model Switch model/cost View session costs/status Context statusPermission Modes
claude Interactive mode (default)claude --dangerously-skip-permissions Full bypass (CI/CD)claude --allowedTools "Edit,Read,Bash" Tool whitelistQuick Start
# Launch Claude Codeclaude
# CLAUDE.md is loaded automatically at startup# To add a file during the session:@src/auth.ts Look at this function
# Non-interactive mode (scripts)claude -p "Analyze this file" < input.txt
# Continue last sessionclaude --continueSession Commands
/new New session (alias for /clear)/resume Resume a session (opens the picker)/branch Fork the conversation here (v2.1.77)Context Navigation
| Command | Effect |
|---|---|
/compact | Summarize and free up space |
/clear | Full reset |
@file | Reference a file in the prompt |
Custom Slash Commands
# Invoke a custom command/command-name [args]
# Defined in:.claude/skills/command-name/SKILL.mdEssential Tips
Verbosity control: use --verbose at launch, or Ctrl+O in session, to see the full turn-by-turn transcript.
Multiline: Shift+Enter in the terminal to add a new line without submitting.
Vim mode: /config β Editor mode, or {"editorMode": "vim"} in ~/.claude/settings.json. The /vim command was removed in v2.1.92.