Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Docs: Specify the location of the tasks.json files (#13333)
Peter Tripp51601cf6bddd
diff --git a/docs/src/key-bindings.md b/docs/src/key-bindings.mdindex 14124c69a69..5933309544e 100644--- a/docs/src/key-bindings.md+++ b/docs/src/key-bindings.md@@ -88,7 +88,7 @@ A common request is to be able to map from one sequence of keys to another. As o{"context": "Editor && vim_mode == insert","bindings": {- "j k": ["workspace::SendKeystrokes", "escape"],+ "j k": ["workspace::SendKeystrokes", "escape"]}}]@@ -117,6 +117,11 @@ For example, `ctrl-n` creates a new tab in Zed on Linux. If you want to send `ct}```+### Task Key bindings++You can also bind keys to launch Zed Tasks defined in your tasks.json.+See the [tasks documentation](/docs/tasks#custom-keybindings-for-tasks) for more.+### All key bindings#### Globaldiff --git a/docs/src/tasks.md b/docs/src/tasks.mdindex 06687acf5ad..9db38ef88f8 100644--- a/docs/src/tasks.md+++ b/docs/src/tasks.md@@ -31,8 +31,9 @@ There are two actions that drive the workflow of using tasks: `task: spawn` and## Task templatesTasks can be defined:-- in global `tasks.json` file; such tasks are available in all Zed projects you work on. You can edit them by using `zed: open tasks` action.-- in worktree-specific (local) `tasks.json` file; such tasks are available only when working on a project with that worktree included. You can edit worktree-specific tasks by using `zed: open local tasks`.++- in global `tasks.json` file; such tasks are available in all Zed projects you work on. This file is usually located in `~/.config/tasks.json`. You can edit them by using `zed: open tasks` action.+- in worktree-specific (local) `.zed/tasks.json` file; such tasks are available only when working on a project with that worktree included. You can edit worktree-specific tasks by using `zed: open local tasks`.- on the fly with [oneshot tasks](#oneshot-tasks). These tasks are project-specific and do not persist across sections.- by language extension.