Warp - Terminal Alimentado por IA
Referência definitiva do terminal Warp para recursos de IA, atalhos e produtividade moderna
Warp é um emulador de terminal revolucionário, baseado em Rust, que reimagina a experiência de linha de comando com integração de IA, interface baseada em blocos e recursos modernos de IDE. Criado por uma equipe de ex-engenheiros do Google, o Warp transforma fluxos de trabalho tradicionais de terminal com sugestões inteligentes de comandos, recursos colaborativos e uma interface bonita e rápida. Este guia completo abrange atalhos essenciais, recursos de IA e melhorias de produtividade para maximizar sua eficiência com o Warp.
Primeiros Passos
Instalação
# 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/
Configuração Inicial
# 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
Atalhos Essenciais
Gerenciamento de Janelas e Abas
# 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
Gerenciamento de Painéis
# 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
Recursos de IA
Assistente de IA do 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
Comandos em Linguagem Natural
# 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
Fluxos de Trabalho de IA
# 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
Recursos de Comandos
Interface Baseada em Blocos
# 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
Entrada de Comandos
# 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
Seleção e Edição de Texto
# 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
Busca e Navegação
Busca de Comandos
# 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
Navegação de Sessão
# 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
Paleta de Comandos
Acessar Paleta de Comandos
# 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
Categorias da Paleta
# 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
Personalização
Temas
# 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
Configurações
# 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)
Configuração de Fonte
# 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
Fluxos de Trabalho
Criando Fluxos de Trabalho
# 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)
Executando Fluxos de Trabalho
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
```### Recursos de Equipe
```bash
# Team workflows
# Share common workflows across team
# Session history
# Access shared command history
# Team themes
# Consistent appearance across team
```## Desempenho e Depuração
```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
```### Monitoramento de Desempenho
```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
```### Depuração
```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
```## Integração
```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
```### Integração com 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
```### Ferramentas Externas
```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
```## Resolução de Problemas
```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
```### Problemas Comuns
```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
```### Redefinição e Recuperação
```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
```## Recursos Avançados
```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
```### Associações de Teclas Personalizadas
```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
```### Variáveis de Ambiente
```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 e Automação