finding-navigating.md

 1---
 2title: Finding and Navigating Code - Zed
 3description: Navigate your codebase in Zed with file finder, project search, go to definition, symbol search, and the command palette.
 4---
 5
 6# Finding & Navigating
 7
 8Zed provides several ways to move around your codebase quickly. Here's an overview of the main navigation tools.
 9
10## Command Palette
11
12The Command Palette ({#kb command_palette::Toggle}) is your gateway to almost everything in Zed. Type a few characters to filter commands, then press Enter to execute.
13
14[Learn more about the Command Palette →](./command-palette.md)
15
16## File Finder
17
18Open any file in your project with {#kb file_finder::Toggle}. Type part of the filename or path to narrow results.
19
20## Project Search
21
22Search across all files with {#kb pane::DeploySearch}. Start typing in the search field to begin searching—results appear as you type.
23
24Results appear in a [multibuffer](./multibuffers.md), letting you edit matches in place.
25
26To disable automatic search and require pressing Enter instead, open the Settings Editor ({#kb zed::OpenSettings}), search for "search on input", and toggle the setting off. Or add this to your settings.json:
27
28```json
29{
30  "search_on_input": false
31}
32```
33
34## Go to Definition
35
36Jump to where a symbol is defined with {#kb editor::GoToDefinition} (or `Cmd+Click` / `Ctrl+Click`). If there are multiple definitions, they open in a multibuffer.
37
38## Go to Symbol
39
40- **Current file:** {#kb outline::Toggle} opens an outline of symbols in the active file
41- **Entire project:** {#kb project_symbols::Toggle} searches symbols across all files
42
43## Outline Panel
44
45The Outline Panel ({#kb outline_panel::ToggleFocus}) shows a persistent tree view of symbols in the current file. It's especially useful with [multibuffers](./multibuffers.md) for navigating search results or diagnostics.
46
47[Learn more about the Outline Panel →](./outline-panel.md)
48
49## Tab Switcher
50
51Quickly switch between open tabs with {#kb tab_switcher::Toggle}. Tabs are sorted by recent use—keep holding Ctrl and press Tab to cycle through them.
52
53[Learn more about the Tab Switcher →](./tab-switcher.md)
54
55## Quick Reference
56
57| Task              | Keybinding                       |
58| ----------------- | -------------------------------- |
59| Command Palette   | {#kb command_palette::Toggle}    |
60| Open file         | {#kb file_finder::Toggle}        |
61| Project search    | {#kb pane::DeploySearch}         |
62| Go to definition  | {#kb editor::GoToDefinition}     |
63| Find references   | {#kb editor::FindAllReferences}  |
64| Symbol in file    | {#kb outline::Toggle}            |
65| Symbol in project | {#kb project_symbols::Toggle}    |
66| Outline Panel     | {#kb outline_panel::ToggleFocus} |
67| Tab Switcher      | {#kb tab_switcher::Toggle}       |