From 5387ae9ed8ef92f218c192f2855ee70fc2963cf5 Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Wed, 19 Mar 2025 15:05:33 -0700 Subject: [PATCH] Add documentation for secondary modifier (#27129) Follow up to: https://github.com/zed-industries/zed/pull/26390 Release Notes: - N/A --- docs/src/key-bindings.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/key-bindings.md b/docs/src/key-bindings.md index de3104e70b..6490e058b0 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 Linux The 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.