Add documentation for secondary modifier (#27129)
Follow up to: https://github.com/zed-industries/zed/pull/26390 Release Notes: - N/A
This commit is contained in:
parent
c30fb5f1ec
commit
5387ae9ed8
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue