From 8f47b3dae002eac5c7b19a60977065d9481dce72 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Wed, 22 Jul 2026 10:27:03 -0500 Subject: [PATCH] Add Open Picker To Switch Between Projects as a Zed TIL --- README.md | 7 ++++++- zed/open-picker-to-switch-between-projects.md | 20 +++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 zed/open-picker-to-switch-between-projects.md diff --git a/README.md b/README.md index a545606..15ce91e 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ working across different projects via [VisualMode](https://www.visualmode.dev/). For a steady stream of TILs, [sign up for my newsletter](https://visualmode.kit.com/newsletter). -_1830 TILs and counting..._ +_1831 TILs and counting..._ See some of the other learning resources I work on: @@ -98,6 +98,7 @@ If you've learned something here, support my efforts writing daily TILs by * [Workflow](#workflow) * [XState](#xstate) * [YAML](#yaml) +* [Zed](#zed) * [Zod](#zod) * [Zsh](#zsh) @@ -2139,6 +2140,10 @@ If you've learned something here, support my efforts writing daily TILs by - [Create Multi-Line Strings Without The Line Breaks](yaml/create-multi-line-strings-without-the-line-breaks.md) - [YAML Is A Superset Of JSON](yaml/yaml-is-a-superset-of-json.md) +### Zed + +- [Open Picker To Switch Between Projects](zed/open-picker-to-switch-between-projects.md) + ### Zod - [Check If An Object Is Empty With Zod](zod/check-if-an-object-is-empty-with-zod.md) diff --git a/zed/open-picker-to-switch-between-projects.md b/zed/open-picker-to-switch-between-projects.md new file mode 100644 index 0000000..eee7633 --- /dev/null +++ b/zed/open-picker-to-switch-between-projects.md @@ -0,0 +1,20 @@ +# Open Picker To Switch Between Projects + +When opening multiple projects with [Zed](https://zed.dev/), they can be spread +across separate instances (windows), but Zed's preference is that all projects +are within the same window. Both _File > Open_ and `zed path/to/project` will +open that project as part of the existing Zed window. + +Once I'm working with multiple projects, I need to toggle between them. This can +be done from the _Threads_ sidebar by Cmd-clicking the project I want to focus. +I, however, prefer to use the keybinding that opens a picker menu. + +``` +Cmd+Opt+o +``` + +Hitting that keybinding with the editor area focused will open a Command Palette +specifically for interacting with open projects. + +I can navigate to the one I want to open either with the arrow keys or `Ctrl-n` +/ `Ctrl-p` and then hit enter to open it.