Answer: User keybindings are written in a JSON array of objects with "bindings"; if no "context" is set the bindings are always active, and if it is set the binding is only active when the context matches. Conflicts are resolved by precedence as described in the docs. Status: Overdue (check was due 2026-11-20T13:41:22Z and has not succeeded) Entry: tool/zed/settings/user-keymaps-syntax Revision: 1 Digest: sha256:940c06a13275cd77 (changes whenever the content changes) Timeline: Created: 2026-11-13T04:02:54Z Last changed: 2026-11-13T04:02:54Z Last verified: 2026-11-19T13:41:22Z Next check: 2026-11-20T13:41:22Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of keymap file location macOS/Linux | ~/.config/zed/keymap.json | [1] | 2026-11-19 keymap file location Windows | ~\AppData\Roaming\Zed/keymap.json | [1] | 2026-11-19 file structure | JSON array of objects with `"bindings"` | [1] | 2026-11-19 no context behavior | always active | [1] | 2026-11-19 context tree root | Workspace | [1] | 2026-11-19 debug command | dev: open key context view | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/key-bindings.md". https://zed.dev/docs/key-bindings.md Role: primary. Accessed: 2026-11-19T13:41:22Z Quote: "macOS/Linux: `~/.config/zed/keymap.json`" (Supports: keymap file location macOS/Linux) Quote: "Windows: `~\AppData\Roaming\Zed/keymap.json`" (Supports: keymap file location Windows) Quote: "This file contains a JSON array of objects with `"bindings"`." (Supports: file structure) Quote: "If no `"context"` is set, the bindings are always active." (Supports: no context behavior) Quote: "Zed's contexts make up a tree, with the root being `Workspace`." (Supports: context tree root) Quote: "you can use dev: open key context view from the command palette." (Supports: debug command) Snapshot SHA-256: b128ec2222c7d57495a6a3c9f24b324b8c1c238eefd6be35f08d9ef784fcb7bf (captured 2026-11-13T04:02:52Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T04:02:54Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:41:22Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:41:22Z Last attempt: 2026-11-19T13:41:22Z Notes and limitations: Extracted automatically from a single official source (section "User Keymaps"). Human-readable page: https://zed.dev/docs/key-bindings.html Related: https://latestn.com/tool/zed/settings/vim-mode-settings How do I configure Vim mode settings in Zed? https://latestn.com/tool/zed/settings/vue-language-server-settings How do I configure Vue language server settings in Zed? https://latestn.com/tool/zed/settings/vue-typescript-sdk-location How do I specify the TypeScript SDK location for Vue in Zed? https://latestn.com/tool/zed/settings/toggle-light-dark-mode How do I toggle light and dark mode in Zed? https://latestn.com/tool/zed/settings/tool-permissions-options What options and pattern syntax does Zed's tool_permissions setting support? https://latestn.com/tool/zed/settings/turn-ai-off How do I turn AI off in Zed? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:02:54Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/settings/user-keymaps-syntax/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/settings/user-keymaps-syntax POST: https://latestn.com/dispute/tool/zed/settings/user-keymaps-syntax with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/settings/user-keymaps-syntax?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I write user keybindings in Zed, including contexts and precedence? Revision 1, last verified 2026-11-19T13:41:22Z. https://latestn.com/tool/zed/settings/user-keymaps-syntax (accessed 2026-11-21T09:52:53Z). @misc{LatestN_tool_zed_settings_user_keymaps_syntax_r1, title = {How do I write user keybindings in Zed, including contexts and precedence?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/settings/user-keymaps-syntax}}, note = {Revision 1; digest sha256:940c06a13275cd77; last verified 2026-11-19T13:41:22Z; accessed 2026-11-21T09:52:53Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/settings/user-keymaps-syntax