Quick Start
This guide will get you from zero to productive in Zed. You’ll learn the essential commands, open your first project, and start editing code.Opening Your First Project
Open a Folder
Launch Zed and open a project folder using one of these methods:From the command line:From within Zed:
- Press
Cmd+O(macOS) orCtrl+O(Linux/Windows) - Navigate to your project folder
- Click “Open”
Explore the Interface
When you open a project, you’ll see:
- Project Panel (left): Browse your project files
- Editor (center): Edit your code
- Assistant Panel (right): AI chat and tools (can be toggled)
- Status Bar (bottom): Git status, diagnostics, and language info
Essential Keyboard Shortcuts
These are the most important shortcuts to memorize:Navigation
| Action | macOS | Linux/Windows | Description |
|---|---|---|---|
| Command Palette | Cmd+Shift+P | Ctrl+Shift+P | Access all commands |
| Go to File | Cmd+P | Ctrl+P | Quickly open files by name |
| Go to Symbol | Cmd+Shift+O | Ctrl+Shift+O | Jump to functions, classes, etc. |
| Find in Project | Cmd+Shift+F | Ctrl+Shift+F | Search across all files |
| Go to Line | Ctrl+G | Ctrl+G | Jump to a specific line number |
Editing
| Action | macOS | Linux/Windows | Description |
|---|---|---|---|
| Multi-cursor | Cmd+D | Ctrl+D | Select next occurrence |
| Add cursor above | Cmd+Alt+Up | Ctrl+Alt+Up | Add cursor on line above |
| Add cursor below | Cmd+Alt+Down | Ctrl+Alt+Down | Add cursor on line below |
| Comment line | Cmd+/ | Ctrl+/ | Toggle line comment |
| Format document | Cmd+Shift+I | Ctrl+Shift+I | Format code using language formatter |
Tools
| Action | macOS | Linux/Windows | Description |
|---|---|---|---|
| Toggle Terminal | Ctrl+` | Ctrl+` | Open/close integrated terminal |
| Open Settings | Cmd+, | Ctrl+, | Open settings editor |
| Agent Panel | Cmd+Shift+A | Ctrl+Shift+A | Open AI assistant |
| Extensions | Cmd+Shift+X | Ctrl+Shift+X | Browse and install extensions |
Forgot a shortcut? Press
Cmd+Shift+P (or Ctrl+Shift+P) to open the command palette and search for any command.Using the Command Line Interface
The Zed CLI lets you open files and projects from your terminal.Opening Files and Folders
Common CLI Options
Your First Editing Session
Let’s practice the essential editing features:1. Multi-cursor Editing
Select next occurrence
Press
Cmd+D (macOS) or Ctrl+D (Linux/Windows) to select the next occurrence of the same word.2. Go to Definition
3. Find and Replace
4. Using the Integrated Terminal
Setting Up Your Language
Zed includes built-in support for many languages. For others, you’ll need to install an extension.Some languages require additional tools (like language servers) to be installed on your system. Check the Languages documentation for language-specific setup instructions.
Configuring Zed
Customize Zed to match your preferences:Open Settings
PressCmd+, (macOS) or Ctrl+, (Linux/Windows) to open the Settings Editor. You can search for any setting and change it directly.
Common Settings to Configure
Quick Theme Switching
PressCmd+K Cmd+T (macOS) or Ctrl+K Ctrl+T (Linux/Windows) to open the theme picker and preview themes instantly.
Trying AI Features
Zed includes built-in AI assistance to help you code faster.Agent Panel (AI Chat)
Ask a question
Type a question or request:
- “How do I read a file in Python?”
- “Explain this function”
- “Write a test for this code”
Inline Assistant
AI features require configuration of an LLM provider. See the AI Configuration guide to set up Claude, GPT-4, Gemini, or other providers.
Working with Git
Zed has built-in Git integration:View Changes
- Gutter indicators: Modified lines show in the editor gutter
- Git Panel: Press
Cmd+Shift+G(macOS) orCtrl+Shift+G(Linux/Windows) - Inline blame: See who changed each line
Stage and Commit
View Diffs
Click on a modified file in the Git panel to see a side-by-side diff.Next Steps
You now know the essentials of Zed! Here are some topics to explore next:Languages
Configure language-specific features and tools
AI Features
Learn about Zed’s AI capabilities in depth
Collaboration
Share your project and code with teammates in real-time
Extensions
Extend Zed with community-built extensions
Coming from Another Editor?
If you’re switching from another editor, check out our migration guides:- VS Code — Import settings and map keybindings
- IntelliJ IDEA — Adapt to Zed’s navigation
- PyCharm — Set up Python development
- WebStorm — Configure JS/TS workflows
- RustRover — Rust development in Zed
Join the Community
Connect with other Zed users:- Discord — Chat with the community
- GitHub Discussions — Ask questions and share ideas
- Reddit — News and discussions
