Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Clarify key binding documentation (#11644)

Conrad Irwin0d760d8d1968
diff --git a/docs/src/key-bindings.md b/docs/src/key-bindings.md
index 66cb3d04d01..608723617b3 100644
--- a/docs/src/key-bindings.md
+++ b/docs/src/key-bindings.md
@@ -77,7 +77,6 @@ A common request is to be able to map from one sequence of keys to another. As o
[
{
"bindings": {
- "j k": ["workspace::SendKeystrokes", "escape"],
"alt-down": ["workspace::SendKeystrokes", "down down down down"],
"cmd-alt-c": [
"workspace::SendKeystrokes",
@@ -85,6 +84,12 @@ A common request is to be able to map from one sequence of keys to another. As o
],
"cmd-alt-r": ["workspace::SendKeystrokes", "cmd-p README enter"]
}
+ },
+ {
+ "context": "Editor && vim_mode == insert",
+ "bindings": {
+ "j k": ["workspace::SendKeystrokes", "escape"],
+ }
}
]
```