Is it possible to open specific files with a key binding? #23455
-
I am the type of guy who doesn't want to leave the editor and I always have keybinding to open specific files, for example ~/Dropbox/notes/todo.md or ~/Dropbox/notes/short_term_memory.md where I can quickly drop things and close it again without losing flow. The files are always outside my workspace. I can't see anywhere how I can do this with Zed. In Sublime Text I have the following settings that work great:
Somebody knows if this is possible with Zed? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Not as elegant, but presumably doable with tasks: https://zed.dev/docs/tasks#custom-keybindings-for-tasks shows how to bind invoking a certain task by its name, then you can create a number of tasks doing One caveat might be #17401 which suggests the files might not open in the correct window. |
Beta Was this translation helpful? Give feedback.
Not as elegant, but presumably doable with tasks: https://zed.dev/docs/tasks#custom-keybindings-for-tasks shows how to bind invoking a certain task by its name, then you can create a number of tasks doing
zed /path/to/file
and call them separately.One caveat might be #17401 which suggests the files might not open in the correct window.