Warp - محطة طرفية مدعومة بالذكاء الاصطناعي
مرجع Warp النهائي للميزات الذكية، والاختصارات، والإنتاجية العصرية
Warp هو محطة طرفية ثورية مبنية بلغة Rust تعيد تخيل تجربة سطر الأوامر من خلال دمج الذكاء الاصطناعي، واجهة مبنية على الكتل، وميزات عصرية مشابهة لبيئات التطوير المتكاملة. تم إنشاؤه من قبل فريق من مهندسي Google السابقين، يحول Warp سير العمل التقليدي للمحطة الطرفية من خلال اقتراحات الأوامر الذكية، والميزات التعاونية، وواجهة جميلة وسريعة. يغطي دليل المرجع الشامل هذا الاختصارات الأساسية، وميزات الذكاء الاصطناعي، وتحسينات الإنتاجية لزيادة كفاءتك مع Warp.
البدء
التثبيت
# macOS (Homebrew)
brew install --cask warp
# macOS (Direct Download)
# Download from https://www.warp.dev/
# Linux (Debian/Ubuntu)
curl -fsSL https://releases.warp.dev/linux/v0.2024.10.29.08.02.stable_02/warp-terminal_0.2024.10.29.08.02.stable.02_amd64.deb -o warp.deb
sudo dpkg -i warp.deb
# Linux (Fedora/RHEL)
curl -fsSL https://releases.warp.dev/linux/v0.2024.10.29.08.02.stable_02/warp-terminal-0.2024.10.29.08.02.stable.02-1.x86_64.rpm -o warp.rpm
sudo rpm -i warp.rpm
# Windows
# Download from Microsoft Store or https://www.warp.dev/
إعداد الإطلاق الأول
# Sign in to Warp (required for AI features)
# Click "Sign In" in the welcome screen
# Skip sign-in (limited features)
# Click "Continue without signing in"
# Import existing terminal settings
# Warp will detect and offer to import from other terminals
الاختصارات الأساسية
إدارة النوافذ والعلامات
# New window
Cmd+N # macOS
Ctrl+Shift+N # Linux/Windows
# New tab
Cmd+T # macOS
Ctrl+Shift+T # Linux/Windows
# Close tab
Cmd+W # macOS
Ctrl+Shift+W # Linux/Windows
# Close window
Cmd+Shift+W # macOS
Ctrl+Shift+Q # Linux/Windows
# Switch between tabs
Cmd+1-9 # macOS (tab number)
Ctrl+1-9 # Linux/Windows (tab number)
Cmd+Shift+[/] # macOS (previous/next)
Ctrl+PageUp/PageDown # Linux/Windows (previous/next)
# Move tab
Cmd+Shift+Left/Right # macOS
Ctrl+Shift+PageUp/PageDown # Linux/Windows
إدارة الألواح
# Split pane right
Cmd+D # macOS
Ctrl+Shift+D # Linux/Windows
# Split pane down
Cmd+Shift+D # macOS
Ctrl+Shift+Alt+D # Linux/Windows
# Close pane
Cmd+Shift+W # macOS
Ctrl+Shift+Alt+W # Linux/Windows
# Focus next pane
Cmd+] # macOS
Ctrl+Shift+] # Linux/Windows
# Focus previous pane
Cmd+[ # macOS
Ctrl+Shift+[ # Linux/Windows
# Resize pane
Cmd+Ctrl+Arrow # macOS
Ctrl+Shift+Alt+Arrow # Linux/Windows
# Equalize panes
Cmd+Shift+E # macOS
Ctrl+Shift+E # Linux/Windows
ميزات الذكاء الاصطناعي
مساعد Warp الذكي
# Open AI chat
Cmd+` # macOS
Ctrl+` # Linux/Windows
# Ask AI about command
# Type natural language after #
# Example: "# how do I find large files"
# AI command suggestions
# Start typing and Warp suggests commands
# Press Tab to accept suggestion
# Explain command output
# Select output text and press Cmd+E (macOS) or Ctrl+E (Linux/Windows)
# AI-powered error explanations
# Click on error messages for AI explanations
أوامر اللغة الطبيعية
# Examples of natural language queries
# find files larger than 100MB
# show me running processes
# compress this folder
# what's using port 8080
# show git status with colors
# list docker containers
# find python files modified today
سير عمل الذكاء الاصطناعي
# Create workflow from commands
Cmd+Shift+S # macOS
Ctrl+Shift+S # Linux/Windows
# Run saved workflow
Cmd+Shift+R # macOS
Ctrl+Shift+R # Linux/Windows
# Share workflow
# Right-click workflow → Share
ميزات الأوامر
واجهة مبنية على الكتل
# Navigate between command blocks
Cmd+Up/Down # macOS
Ctrl+Up/Down # Linux/Windows
# Select entire command block
Cmd+A (when cursor in block) # macOS
Ctrl+A (when cursor in block) # Linux/Windows
# Copy command block
Cmd+Shift+C # macOS
Ctrl+Shift+C # Linux/Windows
# Copy output block
Cmd+Shift+O # macOS
Ctrl+Shift+O # Linux/Windows
# Bookmark command block
Cmd+B # macOS
Ctrl+B # Linux/Windows
إدخال الأوامر
# Multi-line command editing
Shift+Enter # New line in command
Cmd+Enter # Execute multi-line command (macOS)
Ctrl+Enter # Execute multi-line command (Linux/Windows)
# Command history
Cmd+R # macOS
Ctrl+R # Linux/Windows
# Clear command input
Cmd+U # macOS
Ctrl+U # Linux/Windows
# Auto-complete
Tab # Accept suggestion
Shift+Tab # Previous suggestion
اختيار وتحرير النص
# Select word
Double-click # Select word
Cmd+D # Select next occurrence (macOS)
Ctrl+D # Select next occurrence (Linux/Windows)
# Select line
Triple-click # Select entire line
Cmd+L # Select line (macOS)
Ctrl+L # Select line (Linux/Windows)
# Select all
Cmd+A # macOS
Ctrl+A # Linux/Windows
# Copy/Paste
Cmd+C / Cmd+V # macOS
Ctrl+C / Ctrl+V # Linux/Windows
# Undo/Redo
Cmd+Z / Cmd+Shift+Z # macOS
Ctrl+Z / Ctrl+Y # Linux/Windows
البحث والتنقل
بحث الأوامر
# Search command history
Cmd+R # macOS
Ctrl+R # Linux/Windows
# Search in current session
Cmd+F # macOS
Ctrl+F # Linux/Windows
# Search across all sessions
Cmd+Shift+F # macOS
Ctrl+Shift+F # Linux/Windows
# Jump to command
Cmd+G # macOS
Ctrl+G # Linux/Windows
التنقل بين الجلسات
# Scroll to top
Cmd+Home # macOS
Ctrl+Home # Linux/Windows
# Scroll to bottom
Cmd+End # macOS
Ctrl+End # Linux/Windows
# Page up/down
Cmd+PageUp/PageDown # macOS
Ctrl+PageUp/PageDown # Linux/Windows
# Jump to previous/next command
Cmd+Shift+Up/Down # macOS
Ctrl+Shift+Up/Down # Linux/Windows
لوحة الأوامر
الوصول إلى لوحة الأوامر
# Open command palette
Cmd+Shift+P # macOS
Ctrl+Shift+P # Linux/Windows
# Common palette commands
> Split Pane Right
> Split Pane Down
> New Tab
> Close Tab
> Settings
> Themes
> Workflows
> AI Chat
فئات اللوحة
# View categories
> View: Focus Terminal
> View: Toggle Sidebar
> View: Zoom In/Out
> Edit: Copy Block
> Edit: Paste
> Terminal: Clear Screen
> Terminal: Reset
> Warp: Settings
> Warp: Feedback
التخصيص
المظاهر
# Access themes
Cmd+Shift+T # macOS
Ctrl+Shift+T # Linux/Windows
# Popular themes
- Warp Dark
- Warp Light
- Dracula
- One Dark
- Solarized Dark/Light
- Monokai
- GitHub Dark/Light
الإعدادات
# Open settings
Cmd+, # macOS
Ctrl+, # Linux/Windows
# Key settings categories
- Appearance (themes, fonts, colors)
- Features (AI, autocomplete, suggestions)
- Keybindings (customize shortcuts)
- Privacy (telemetry, AI data)
- Advanced (performance, experimental)
تكوين الخط
# Font settings in Preferences
Font Family: JetBrains Mono, Fira Code, SF Mono
Font Size: 12-16pt recommended
Line Height: 1.2-1.5
Font Weight: Regular, Medium, Bold
Ligatures: Enable for coding fonts
سير العمل
إنشاء سير العمل
# Save commands as workflow
1. Run commands in sequence
2. Select command blocks
3. Cmd+Shift+S (macOS) or Ctrl+Shift+S (Linux/Windows)
4. Name and save workflow
# Workflow examples
- Development setup (git clone, npm install, npm start)
- System monitoring (top, df, free)
- Docker operations (build, run, logs)
- Database backup (mysqldump, compression)
تشغيل سير العمل
Would you like me to continue with the remaining sections?```bash
Execute workflow
Cmd+Shift+R # macOS Ctrl+Shift+R # Linux/Windows
Workflow with parameters
Use \\{\\{variable\\}\\} syntax in commands
Example: git clone \\{\\{repo_url\\}\\}
Share workflows
Export to file or share via Warp Drive
```bash
# Share session
Cmd+Shift+L # macOS
Ctrl+Shift+L # Linux/Windows
# Join shared session
# Use shared link from team member
# Session permissions
- View only
- Full access
- Time-limited access
```### ميزات الفريق
```bash
# Team workflows
# Share common workflows across team
# Session history
# Access shared command history
# Team themes
# Consistent appearance across team
```## الأداء والتصحيح
```bash
# View performance stats
Cmd+Shift+I # macOS
Ctrl+Shift+I # Linux/Windows
# Memory usage
# Check in Activity Monitor (macOS) or Task Manager (Windows)
# GPU acceleration status
# Visible in Settings > Advanced
```### مراقبة الأداء
```bash
# Debug mode
# Enable in Settings > Advanced > Debug Mode
# Log files location
# macOS: ~/Library/Logs/dev.warp.Warp-Stable/
# Linux: ~/.local/share/warp-terminal/logs/
# Windows: %APPDATA%\warp-terminal\logs\
# Reset Warp
# Clear all settings and data
# Settings > Advanced > Reset Warp
```### التصحيح
```bash
# Supported shells
- Bash
- Zsh (recommended)
- Fish
- PowerShell (Windows)
# Shell-specific features
# Zsh: Enhanced completions, syntax highlighting
# Fish: Native autosuggestions integration
# PowerShell: Windows-specific commands
```## التكامل
```bash
# Git integration
# Enhanced git status, branch display
# Visual diff support
# Docker integration
# Container status in prompt
# Docker command suggestions
# Cloud CLI integration
# AWS, GCP, Azure command completions
# Context-aware suggestions
```### التكامل مع الشِّلَّة (Shell)
```bash
# AI features not working
1. Ensure signed in to Warp account
2. Check internet connection
3. Verify AI features enabled in settings
# Performance issues
1. Disable GPU acceleration if problems
2. Reduce font size or line height
3. Clear session history
4. Restart Warp
# Keyboard shortcuts not working
1. Check for conflicts with system shortcuts
2. Reset keybindings in settings
3. Restart Warp
```### الأدوات الخارجية
```bash
# Reset settings
Settings > Advanced > Reset Settings
# Clear cache
Settings > Advanced > Clear Cache
# Reinstall Warp
1. Uninstall current version
2. Download latest from warp.dev
3. Install and restore settings from backup
```## استكشاف المشكلات
```bash
# Access keybinding settings
Settings > Keybindings
# Create custom shortcuts
1. Find action in list
2. Click to edit
3. Press new key combination
4. Save changes
# Export/Import keybindings
Settings > Keybindings > Export/Import
```### المشكلات الشائعة
```bash
# Warp-specific variables
WARP_HONOR_PS1=1 # Use custom PS1
WARP_ENABLE_WINGET=1 # Enable winget on Windows
WARP_LOG_LEVEL=debug # Debug logging
# Shell integration variables
WARP_IS_LOCAL_SHELL_SESSION=1 # Local session indicator
```### إعادة الضبط والاستعادة
```bash
# Warp CLI (experimental)
warp-cli --help # Show available commands
warp-cli session list # List active sessions
warp-cli workflow run <name> # Run workflow by name
# URL schemes
warp://new-tab # Open new tab
warp://run?command=ls # Run command
warp://workflow?name=deploy # Run workflow
```## الميزات المتقدمة
```bash
# Use AI for learning
# Ask "# explain this command" for any unfamiliar command
# Create workflows for repetitive tasks
# Save time with automated command sequences
# Leverage block-based navigation
# Quickly jump between command outputs
# Use natural language
# Type "# " followed by what you want to do
# Bookmark important commands
# Cmd+B (macOS) or Ctrl+B (Linux/Windows) to bookmark
```### الاختصارات المخصصة
```bash
# Review AI data sharing
Settings > Privacy > AI Data Usage
# Use secure input mode
# For sensitive commands like passwords
# Regular session cleanup
# Clear history for sensitive sessions
# Team access control
# Carefully manage shared session permissions
```### متغيرات البيئة
```bash
# Optimal font settings
Font: JetBrains Mono or Fira Code
Size: 14pt
Line Height: 1.3
Ligatures: Enabled
# Theme selection
Dark themes for extended use
Light themes for presentations
High contrast for accessibility
# AI settings
Enable command suggestions
Enable error explanations
Disable if privacy concerns
```### واجهة برمجة التطبيقات (API) والأتمتة