Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add documentation for secondary modifier (#27129)
Mikayla Maki5387ae9ed8ef
diff --git a/docs/src/key-bindings.md b/docs/src/key-bindings.mdindex de3104e70bd..6490e058b09 100644--- a/docs/src/key-bindings.md+++ b/docs/src/key-bindings.md@@ -60,6 +60,7 @@ Each keypress is a sequence of modifiers followed by a key. The modifiers are:- `alt-` for alt (option on macOS)- `shift-` The shift key- `fn-` The function key+- `secondary-` Equivalent to `cmd` when Zed is running on macOS and `ctrl` when on Windows and LinuxThe keys can be any single unicode codepoint that your keyboard generates (for example `a`, `0`, `£` or `ç`), or any named key (`tab`, `f1`, `shift`, or `cmd`). If you are using a non-Latin layout (e.g. Cyrillic), you can bind either to the cyrillic character, or the latin character that that key generates with `cmd` pressed.