Smart Code Navigation
Jump to definitions, files, and symbols with lightning speed
Efficient navigation is the cornerstone of productive coding. Zed’s navigation features help you move through your codebase at the speed of thought.
Quick File Navigation
The fastest way to open files is using the command palette:
Cmd + P
# Open quick file picker
# Start typing the file name and hit EnterGo to Definition
Jump directly to where a function, class, or variable is defined:
Cmd + Click (or F12)
# Jump to definitionCmd + K, Cmd + D
# Peek definition in a popupSymbol Navigation
Navigate to any symbol (function, class, variable) in the current file:
Cmd + Shift + O
# Open symbol picker for current fileFor workspace-wide symbol search:
Cmd + T
# Search for symbols across your entire projectBreadcrumb Navigation
Use the breadcrumb trail at the top of the editor to quickly navigate between:
- Parent directories
- Sibling files
- Symbol hierarchy within the current file
Navigation History
Move backward and forward through your navigation history:
Ctrl + - (minus)
# Go back to previous locationCtrl + Shift + -
# Go forward to next locationPro Tips
- Use Cmd + Shift + F for global find across all files
- Cmd + G to jump to a specific line number
- Hold Alt while clicking to peek at definitions without leaving your current location
- Use the minimap on the right side for quick visual navigation in large files
What's next?
Continue your Zed mastery journey
Smart Code Navigation
Learn powerful navigation techniques to jump between files, symbols, and definitions instantly.