Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix `workspace::SendKeystrokes` example in docs (#36515)
Peter Tripp69b1c6d6f56e
diff --git a/docs/src/key-bindings.md b/docs/src/key-bindings.mdindex 9fc94840b77..838dceaa862 100644--- a/docs/src/key-bindings.md+++ b/docs/src/key-bindings.md@@ -225,12 +225,14 @@ A common request is to be able to map from a single keystroke to a sequence. You[{"bindings": {+ // Move down four times"alt-down": ["workspace::SendKeystrokes", "down down down down"],+ // Expand the selection (editor::SelectLargerSyntaxNode);+ // copy to the clipboard; and then undo the selection expansion."cmd-alt-c": ["workspace::SendKeystrokes",- "cmd-shift-p copy relative path enter"- ],- "cmd-alt-r": ["workspace::SendKeystrokes", "cmd-p README enter"]+ "ctrl-shift-right ctrl-shift-right ctrl-shift-right cmd-c ctrl-shift-left ctrl-shift-left ctrl-shift-left"+ ]}},{