idekey-bindingszed

Zed: How to search across all files within a workspace?


How does one search for occurances across all files in the Zed editor?

In vscode, I can click on the search icon in the toolbar. Is there an equivilent in Zed?


Solution

  • tl;dr you can open up the Project Search pane using + Shift + F.


    Within the Command Palette (opened using + Shift + P), the command is called Pane: Deploy Search, this opens up a new "Project Search" pane in the editor.

    Image of the Zed IDE showing the Project Search pan open in the editor

    The key binding for this option is + Shift + F, which can be configured by defining your own custom key bindings in the keymap.json file.