Skip to content

Commit 0c23001

Browse files
authored
add section with shortcuts (#31)
1 parent 4f61c9d commit 0c23001

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,40 @@ Helpful links:
7474

7575
Press the in‑app help (`?`) to see available shortcuts, or explore the `src/keyboard-shortcuts/` directory. Common actions include creating bullets, indent/outdent, lift/lower, and zoom.
7676

77+
### Keyboard shortcuts
78+
79+
Quick cheatsheet of key combinations and what they do. Keys are shown literally (Meta = Cmd on macOS).
80+
81+
| Key | Action | Context |
82+
| ---------------------------------------- | --------------------------------------------------------------------------- | ---------- |
83+
| `ctrl + ;` | Toggle visibility of sidebar | navigation |
84+
| `ctrl + t` | Open theme selector | navigation |
85+
| `shift + /` | Display help modal | navigation |
86+
| `ctrl + o` | Open outline selector | navigation |
87+
| `ctrl + n` | Create new outline | navigation |
88+
| `g` | Scroll to the very top of the document | navigation |
89+
| `shift + g` | Scroll to the very bottom of the document | navigation |
90+
| `j` | Move the cursor to the next sibling of the current node | navigation |
91+
| `k` | Move the cursor to the previous sibling of the current node | navigation |
92+
| `l` | Move the cursor to the first child element of the current node | navigation |
93+
| `h` | Move the cursor to the parent element of the current node | navigation |
94+
| `z` | hide all children node of the current node | navigation |
95+
| `t` | Toggle current node as a task | navigation |
96+
| `shift + 4` | Enter "Edit" mode and place the cursor at the end of the editable content | navigation |
97+
| `i` | Enter "edit" mode and place the cursor at the start of the editable content | navigation |
98+
| `tab` | Add a new node as the child of the current node | navigation |
99+
| `enter` | Add a new node as the sibling of the current node | navigation |
100+
| `shift + d` | Delete the current node | navigation |
101+
| `shift + h` | Lift the current node to be a sibling of the parent node | navigation |
102+
| `shift + l` | Lower the current node to be a child of the previous sibling node | navigation |
103+
| `shift + k` | Swap the current node with the previous sibling node | navigation |
104+
| `shift + j` | Swap the current node with the next sibling node | navigation |
105+
| `shift + .` | Zoom into current node (virtual view) | navigation |
106+
| `shift + ,` | Exit zoom and return to full outline | navigation |
107+
| `esc` | Stop editing the current node and return to "navigation" mode | editing |
108+
| `enter` | Stop editing the current node and return to "navigation" mode | editing |
109+
| `meta + shift + v` or `ctrl + shift + v` | Paste clipboard as plain text (no formatting) | editing |
110+
77111
### Screenshots
78112

79113
![Default theme](docs/screenshots/light-theme.png)

0 commit comments

Comments
 (0)