Skip to content

Is it possible to open specific files with a key binding? #23455

Closed Answered by SomeoneToIgnore
michaelkoper asked this question in General Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@michaelkoper
Comment options

@SomeoneToIgnore
Comment options

Answer selected by michaelkoper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants