Interactive mode features including keyboard shortcuts, vim mode, command history, and background tasks. Use when user asks about REPL, keyboard shortcuts, interactive features, or vim mode.
Provides interactive REPL features including keyboard shortcuts, vim editing mode, command history search, and background task management. Use when users ask about vim mode, keyboard shortcuts, command history, or running tasks in the background.
/plugin marketplace add reggiechan74/claude-plugins/plugin install claude-code-metaskill@claude-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Interactive mode provides a rich REPL (Read-Eval-Print Loop) environment with keyboard shortcuts, command history, vim editing, and background task management.
| Shortcut | Action |
|---|---|
Ctrl+C | Cancel current input or generation |
Ctrl+D | Exit the Claude Code session |
Ctrl+L | Clear terminal screen (preserves conversation history) |
Ctrl+O | Toggle verbose output (shows detailed tool usage) |
Ctrl+R | Search backwards through command history |
Ctrl+B | Move bash invocation to background |
Tab | Switch extended thinking on and off |
| Shortcut | Action |
|---|---|
↑/↓ | Navigate through command history |
←/→ | Move cursor left/right |
Home | Move to start of line |
End | Move to end of line |
| Shortcut | Action |
|---|---|
? | Show help and shortcuts |
Claude Code supports several ways to create multiline inputs:
Line 1 \
Line 2 \
Line 3
Backslash + Enter works universally across all platforms.
Option+Enter
Option+Enter creates a newline on macOS.
Shift+Enter
Shift+Enter functions after running /terminal-setup.
Temporary (current session):
/vim
Permanent:
/config
Then enable vim mode in configuration.
Movement:
h - Move leftj - Move downk - Move upl - Move rightw - Move forward one worde - Move to end of wordb - Move backward one word0 - Move to start of line$ - Move to end of lineEditing:
i - Insert modea - Append (insert after cursor)A - Append at end of lineI - Insert at start of linex - Delete characterdd - Delete lined$ - Delete to end of lined0 - Delete to start of linedw - Delete word. - Repeat last operationModes:
Esc - Return to normal modei - Enter insert modeNavigation:
↑ - Previous command↓ - Next commandOrganization: Session history is organized by working directory for better context.
Backward search:
Ctrl+RCtrl+R again to cycle through matchesEnter to executeEsc to cancelFeatures:
When Claude Code runs a command in the background, it runs the command asynchronously and immediately returns a background task ID.
Automatic: Claude may prompt to background long-running tasks.
Manual:
Press Ctrl+B to move regular bash invocations to the background.
View output: Output is buffered and can be retrieved later.
Monitor tasks: Claude shows status updates for background tasks.
Continue working: You can interact with Claude while background tasks run.
| Prefix | Purpose | Example |
|---|---|---|
# | Add content to CLAUDE.md memory | # Use 2-space indentation |
/ | Trigger slash commands | /help |
! | Direct bash execution (no Claude interpretation) | !ls -la |
@ | File path autocomplete | @src/ + Tab |
#)Add to memory:
# Always use TypeScript strict mode
Claude will prompt you to select the target memory file:
.claude/CLAUDE.md)~/.claude/CLAUDE.md)!)Execute without interpretation:
!git status
!npm test
!echo "Hello"
Benefits:
@)Trigger autocomplete:
@src/
Press Tab to see file suggestions.
Attach files to conversation:
Review @src/components/Button.tsx for issues
Toggle extended thinking:
Press Tab to enable/disable.
What it does:
Toggle verbose mode:
Press Ctrl+O
What it shows:
Clear screen:
Press Ctrl+L to clear the terminal while preserving conversation history.
Difference from /clear:
Ctrl+L: Clears screen only (visual)/clear: Clears conversation history (context)Clean exit:
Press Ctrl+D or type /exit
Force exit:
Press Ctrl+C multiple times
Cancel current operation:
Press Ctrl+C once
Common scenarios:
Quick history access:
↑ # Previous command
↑↑ # Two commands back
Search specific commands:
Ctrl+R "test" # Find commands with "test"
Background long tasks:
# Long-running test suite
Ctrl+B to background it
Continue working on other tasks
Quick iterations:
↑ # Recall last command
# Edit slightly
Enter # Execute modified version
Memory building:
# Use snake_case for variables
# Prefer composition over inheritance
# Write tests for all public APIs
Fast editing:
Esc # Normal mode
0 # Start of line
d$ # Delete to end
i # Insert mode
Type new content
Esc # Back to normal
Quick fixes:
Esc # Normal mode
$ # End of line
x # Delete last character
a # Append
Type correction
Run setup:
/terminal-setup
What it configures:
Access configuration:
/config
Available settings:
# Ask questions
"explain the authentication flow"
# Make changes
"add rate limiting"
# Test
!npm test
# Adjust
↑ to recall, modify, retry
# Enable verbose
Ctrl+O
# Run with details
"analyze the memory leak"
# Review verbose output
# Identify issue
# Fix
# Disable verbose
Ctrl+O
# Background first task
"run full test suite" → Ctrl+B
# Continue with other work
"refactor user module"
# Check background task
# Complete when done
Claude Code integrates with your shell's command history, allowing you to:
Works with:
Claude Code respects:
Claude Code works with screen readers for:
All features accessible via keyboard:
Create employment contracts, offer letters, and HR policy documents following legal best practices. Use when drafting employment agreements, creating HR policies, or standardizing employment documentation.
Implement GDPR-compliant data handling with consent management, data subject rights, and privacy by design. Use when building systems that process EU personal data, implementing privacy controls, or conducting GDPR compliance reviews.