Keyboard & Mouse Reference
On macOS, the platform modifier is Command (⌘) and the alt modifier is Option (⌥). On Linux and Windows, the platform modifier is Ctrl and the alt modifier is Alt.
Global Shortcuts
These shortcuts work from every focus state (graph, search input, built-in editor, and terminal):
| macOS | Linux / Windows | Action |
|---|---|---|
⌃`` (Ctrl+“) | `Ctrl+“ | Open the bottom drawer on the Terminal tab and focus the shell; press again when Terminal is open to close the drawer. |
⌘q | Ctrl+Q | Quit deccy-gui. If the built-in editor has unsaved changes, the first press warns and the second quits. |
Graph View Shortcuts
Active whenever the graph view owns focus (i.e., the search input is not focused, the built-in editor is closed, and the terminal is not focused):
| macOS | Linux / Windows | Action |
|---|---|---|
/ | / | Focus the toolbar search input. |
j or ↓ | j or ↓ | Select the next node in store order (wraps; skips connectors when hide connectors is on). |
k or ↑ | k or ↑ | Select the previous node in store order (wraps; skips connectors when hide connectors is on). |
Enter | Enter | Pan the viewport to center the selected card at the current zoom level. |
f | f | Zoom and pan to fit the entire graph inside the center pane. |
r | r | Reload the store from disk (keeping the current viewport and moved card positions). |
v | v | Run deccy validate. |
⌘c | Ctrl+C | Copy the selected node’s full 32-character ID to the clipboard and show a 2-second toast. |
⌘, | Ctrl+, | Open or close the settings dialog. |
Esc | Esc | Dismiss the topmost active layer in priority order (see Escape Key Priority below). |
Search Input Shortcuts
Active while the toolbar search… field is focused:
| macOS | Linux / Windows | Action |
|---|---|---|
Printable keys, ⌫, arrows | Printable keys, Backspace, arrows | Edit the search query (supports selection, clipboard paste, word deletion, and IME). |
Enter | Enter | Select the next matching node in store order (wraps). |
Shift-Enter | Shift-Enter | Select the previous matching node in store order (wraps). |
Esc | Esc | Clear the search query, exit search mode, and return focus to the graph. |
Built-in Code Editor Shortcuts
Active while a file is open in the built-in code editor (and the terminal is not focused):
| macOS | Linux / Windows | Action |
|---|---|---|
⌘s | Ctrl+S | Save the file to disk and reload the store. |
⌥z | Alt+Z | Toggle soft line wrapping (wrap on / wrap off). |
Esc | Esc | Close the editor when clean. When dirty, the first press warns (unsaved — esc again to discard) and the second press discards changes and closes. |
| Standard editing keys | Standard editing keys | Cursor movement, selection, copy/cut/paste, undo/redo. |
Terminal Drawer Shortcuts
Active while the drawer’s Terminal tab is focused (click inside the terminal pane or press `⌃“):
| macOS | Linux / Windows | Action |
|---|---|---|
Esc | Esc | Release keyboard focus from the terminal back to the graph (or open editor) without closing the drawer. |
⌘v | Ctrl+V | Paste clipboard text into the shell (and jump to bottom of scrollback). |
⌘← / ⌘→ | Ctrl+A / Ctrl+E | Move cursor to the start / end of the shell line (0x01 / 0x05). |
⌘⌫ | Ctrl+U | Kill the current shell line (0x15). |
⌥← / ⌥→ | Ctrl+← / Ctrl+→ or Alt+← / Alt+→ | Move cursor backward / forward by one word (ESC b / ESC f). |
⌥⌫ | Ctrl+Backspace or Alt+Backspace | Delete the previous word (0x17 / Ctrl-W). |
Ctrl+<key>, arrows, Tab, Enter | Ctrl+<key>, arrows, Tab, Enter | Sent directly to the PTY shell process. |
Escape Key Priority
Because Esc is used across several contexts, deccy-gui resolves it in a deterministic order:
- Terminal Focused: Releases keyboard focus from the terminal back to the editor (if open) or graph view.
- Built-in Editor Open: Closes the editor if clean, or arms/confirms the unsaved-changes discard warning if dirty.
- Search Input Active: Clears the search query and blurs the search field.
- Settings Dialog Open: Closes the settings modal dialog.
- Filters Popover Open: Closes the
filtersdropdown menu. - Node Selected: Clears the current node selection in the graph.
Mouse & Trackpad Reference
| Target | Gesture | Action |
|---|---|---|
| Graph Card | Left-click | Select the card (dims non-neighbours; leaves search input focus). |
| Graph Card | Left-drag | Move the card to a custom position (reveals reset layout in the toolbar). |
| Graph Card | Hover | Open the card’s detail popover (kind/type, full title, digest prefix, findings). |
| Graph Card | Right-click | Open context menu (copy id, open claims in editor, open rationale in editor, validate store, centre on card). |
| Empty Graph Canvas | Left-click | Deselect the current node and leave search input focus. |
| Empty Graph Canvas | Left-drag | Pan the graph viewport. |
| Graph Pane | Scroll wheel / two-finger vertical scroll | Zoom in (scroll up) or zoom out (scroll down) anchored at the cursor. |
| Graph Pane | Shift + scroll wheel, or horizontal scroll | Pan the graph viewport. |
Claim Path (Details Tab) | Left-click | Open the claimed file in the built-in code editor. |
Claim Path (Details Tab) | Right-click | Open context menu (open in editor, copy claim path). |
Markdown Link (Rationale Tab) | Left-click | Open the URL in the system web browser. |
| Right Rail / Drawer Divider | Left-drag | Resize the right inspector rail or bottom drawer height. |
| Terminal Pane | Left-click | Capture keyboard focus for the PTY shell. |
| Terminal Pane | Scroll wheel / trackpad scroll | Scroll through the 1,000-line terminal scrollback buffer. |