Keyboard shortcuts
Press ? anywhere outside a text field for a short list. This page has all of them.
On macOS, use ⌘ where this page says Ctrl, except for Ctrl+`: macOS switches windows with ⌘+`, so the terminal keeps Ctrl there.
| Keys | Action |
|---|---|
Ctrl+K, Ctrl+P | Find pages, tasks, files and commands; paste a Genbeya link to open it |
Ctrl+Shift+F, or / first in the Ctrl+K palette | Search inside pages, tasks and files |
Alt+C, Alt+W, Alt+R (on macOS ⌥⌘C, ⌥⌘W, ⌥⌘R) | While searching inside files: match case, whole words, regular expression |
Ctrl+1 … Ctrl+5 | Wiki, Tasks, Code, Changes, History |
Ctrl+, | Settings |
Ctrl+` | Show or hide the Terminal |
Alt+← / Alt+→, mouse back/forward | Back / forward |
Ctrl+O | Open a folder |
/ | Focus the filter of the current view |
? | Show shortcuts |
E | Edit the open page or task |
N | New page (in the wiki) |
C | New task (on the board or list) |
Ctrl+S | Save a page, task, file or the settings |
Esc | Stop editing; again: close the task panel |
Ctrl+Enter | Commit (in Changes), save a task, add a comment |
Context-menu key, Shift+F10 | Open the menu of the focused page, task, file or commit, as a right-click does |
While a terminal has focus, every key except Ctrl+` goes to the shell.
In Changes
Section titled “In Changes”| Keys | Action |
|---|---|
↑ / ↓, Home / End | Move between the rows of the change tree |
→ / ← | Open / close a folder of the tree; again: go to its first entry / to the folder above |
Enter, Space | Show the file’s diff; open or close the folder |
S | Stage or unstage the focused file or folder of the tree |
Delete | Discard the changes of the focused file or folder of the tree (asks first) |
Click a line number, Shift+click | Select a line of the diff; select the lines up to another one (Staging hunks and lines) |
Shift+↑ / Shift+↓ | Select lines inside the diff |
In the editor
Section titled “In the editor”The editor for code, pages and tasks follows VS Code; see Code. Where macOS differs by more than ⌘ for Ctrl, the second column says so.
| Keys | macOS | Action |
|---|---|---|
Ctrl+F | Find; takes the selected text | |
Ctrl+H | ⌥⌘F | Find and replace |
Enter / Shift+Enter, F3 / Shift+F3 | also ⌘G / ⇧⌘G | Next / previous match |
Alt+Enter (in the find field) | Select all matches | |
Enter / Ctrl+Alt+Enter (in the replace field) | Replace / replace all | |
Alt+C, Alt+W, Alt+R, Alt+L (in the find bar) | ⌥⌘C, ⌥⌘W, ⌥⌘R, ⌥⌘L | Match case, whole word, regular expression, find in selection |
Esc | Close the find bar; then back to one cursor; then stop editing | |
Ctrl+G | ⌃G | Go to line |
Ctrl+D | Select the next occurrence | |
Ctrl+Shift+L | Select all occurrences | |
Alt+click | ⌥+click | Add a cursor |
Ctrl+Alt+↑ / ↓ | Add a cursor above / below | |
Shift+Alt+drag, middle-button drag | Select a rectangle | |
Ctrl+L | Select the line (again: the next one too) | |
Alt+↑ / Alt+↓ | Move the line | |
Shift+Alt+↑ / Shift+Alt+↓ | Copy the line | |
Ctrl+Shift+K | Delete the line | |
Ctrl+Enter | Insert a line below | |
Ctrl+/ | Toggle line comment | |
Ctrl+] / Ctrl+[, Tab / Shift+Tab | Indent / outdent | |
Ctrl+Shift+\ | Go to the matching bracket | |
Ctrl+Shift+[ / Ctrl+Shift+] | ⌥⌘[ / ⌥⌘] | Fold / unfold the block |
Ctrl+Alt+[ / Ctrl+Alt+] | ⌃⌥[ / ⌃⌥] | Fold / unfold everything |
Alt+Z | ⌥Z | Word wrap on or off |
Ctrl+Z / Ctrl+Y, Ctrl+Shift+Z | ⌘Z / ⇧⌘Z | Undo / redo |
Inside the editor these keys win over Genbeya’s own: Alt+← / Alt+→ move the cursor there (by syntax element; by word on macOS) instead of going back and forward, and Ctrl+Enter inserts a line instead of saving a task. Ctrl+K, Ctrl+P, Ctrl+Shift+F, Ctrl+1 … Ctrl+5, Ctrl+,, Ctrl+O, Ctrl+S and Ctrl+` work in the editor as everywhere. Characters typed with AltGr (such as [ ] \ { } on Swiss and German keyboards) are always typed, never taken for Ctrl+Alt shortcuts.