You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/whichkey/extra.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,24 @@ You can set `whichkey.delay` in `settings.json` to a value in milliseconds to de
32
32
33
33
You can set `whichkey.sortOrder` in `settings.json` to `alphabetically` to always display the menu items alphabetically.
34
34
35
+
## Bind shortcuts to submenu
36
+
37
+
To open a submenu with a shortcut, one can execute a [`whichkey.triggerKey`](./reference.md#trigger-key) command right after [`whichkey.show`](./reference.md#show).
38
+
Here's an example `keybindings.json` using [ryuta46.multi-command](https://marketplace.visualstudio.com/items?itemName=ryuta46.multi-command):
0 commit comments