Skip to content

Commit 5797803

Browse files
Openblocks-docsgitbook-bot
authored andcommitted
GITBOOK-111: Add doc: keyboard shortcuts
1 parent 3fca748 commit 5797803

File tree

4 files changed

+76
-0
lines changed

4 files changed

+76
-0
lines changed
89.4 KB
Loading
122 KB
Loading

docs/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
* [Style, theme, and usability](build-apps/design-app-ui/style-theme-and-usability.md)
4545
* [Design an efficient and user-friendly form](build-apps/design-app-ui/design-an-efficient-and-user-friendly-form.md)
4646
* [Navigation](build-apps/navigation.md)
47+
* [Keyboard shortcuts](build-apps/keyboard-shortcuts.md)
4748
* [Version and release management](build-apps/version-and-release-management.md)
4849

4950
## Build plugins
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Keyboard shortcuts
2+
3+
## Built-in keyboard shortcuts
4+
5+
Keyboard shortcuts are a powerful tool that can greatly improve productivity and efficiency when working on a computer. With the ability to assign custom keystrokes to frequently used commands, tasks can be completed quickly and with minimal effort. This is particularly useful for individuals who rely heavily on keyboard input, such as programmers, writers, or designers.
6+
7+
Keyboard shortcuts have been around for decades, and most software applications come with a set of default shortcuts. Openblocks offers built-in keyboard shortcuts to help you work on the interface faster and more efficiently with improved controlling precision.
8+
9+
<figure><img src="../.gitbook/assets/keyboard-shortcuts-1.png" alt=""><figcaption></figcaption></figure>
10+
11+
### Global
12+
13+
Global keyboard shortcuts across Openblocks interfaces.
14+
15+
| Shortcut | Description |
16+
| -------- | ------------------------- |
17+
| `?` | Toggle keyboard shortcuts |
18+
19+
### App editor
20+
21+
Keyboard shortcuts in the [App editor](keyboard-shortcuts.md#app-editor).
22+
23+
| Shortcut | Description |
24+
| ------------- | ------------------ |
25+
| `` + `B` | Toggle left pane |
26+
| `` + `J` | Toggle bottom pane |
27+
| `` + `U` | Toggle right pane |
28+
| `` + `.` | Toggle all panes |
29+
| `` + ⇧ + `P` | Preview |
30+
| `` + `Z` | Undo |
31+
| `` + ⇧ + `Z` | Redo |
32+
| `` | Show grid |
33+
34+
### Component
35+
36+
Keyboard shortcuts to control components.
37+
38+
| Shortcut | Description |
39+
| --------------------- | --------------- |
40+
| `` + Click | Select multiple |
41+
| `` + `A` | Select all |
42+
| `` + `C` | Copy |
43+
| `` + `X` | Cut |
44+
| `` + `V` | Paste |
45+
| `` `` `` `` | Move |
46+
| `` + `` `` `` `` | Resize |
47+
| `DEL`/`Backspace` | Delete |
48+
| `ESC` | Deselect |
49+
50+
### Query editor
51+
52+
Keyboard shortcuts in the Query editor.
53+
54+
| Shortcut | Description |
55+
| --------- | ----------------- |
56+
| `` + `` | Run current query |
57+
58+
### Text editor
59+
60+
Keyboard shortcuts in the Text editor.
61+
62+
| Shortcut | Description |
63+
| ----------- | ----------------- |
64+
| `` + `L` | Format |
65+
| `` + Click | Open in left pane |
66+
67+
## Custom keyboard shortcuts
68+
69+
You can define custom keyboard shortcuts at app-level. Go to ⚙️ on the left side-bar > **App settings** > **Custom shortcuts**. Click **+ Add** to add new shortcuts for specific actions. Then, you can click a custom shortcut to midify it or click the three dots `···` to delete it.
70+
71+
<figure><img src="../.gitbook/assets/keyboard-shortcuts-2.png" alt=""><figcaption></figcaption></figure>
72+
73+
{% hint style="info" %}
74+
Openblocks keyboard shortcuts are better set to avoid conflicts with the browser's keyboard shortcuts, in case they can not be successfully triggered.
75+
{% endhint %}

0 commit comments

Comments
 (0)