1
Fork 0

Add documentation for how to create shortcuts.

This commit is contained in:
Bauke 2023-12-13 14:04:21 +01:00
parent b27dd3fc96
commit a2c258a627
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 9 additions and 0 deletions

View File

@ -148,6 +148,15 @@ class App extends Component<Props, State> {
<b>Name</b>, the name of the snippet to display in the
toolbar.
</li>
<li>
<b>Shortcut</b>, an optional keyboard shortcut that will
insert the snippet when the combination of keys is pressed. A
shortcut is defined as a list of optional modifier keys and a
single final main key separated by plus signs, for example{" "}
<code>CTRL+ALT+S</code>. The available modifier keys are ALT,{" "}
CTRL and SHIFT. The modifier keys can be in any order however
the final key must come at the end.
</li>
<li>
<b>Enable</b>, whether the snippet should be added to the
toolbar.