mirror of
https://github.com/jbranchaud/til
synced 2026-09-01 01:01:46 +00:00
Add Open Picker To Switch Between Projects as a Zed TIL
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user