Skip to content

Keyboard shortcuts

These are the keyboard shortcuts Linea Codex defines, grouped by where they apply. (Inside the editor, the usual text-editing keys — select-all, move-line, word-delete and the like — follow standard CodeMirror/OS conventions and aren’t repeated here.) Many of the most-used commands also live in the menu bar and remember their shortcut beside the label, so you rarely have to memorise anything — but the tables below are the authoritative reference for the app’s own shortcuts.

Linea Codex follows the platform convention for the primary modifier:

ModifiermacOSWindows / Linux
Primary (“mod”) CommandCtrl
Secondary ControlCtrl
Option / Alt OptionAlt
Shift ShiftShift

Throughout this page each shortcut shows the macOS form first and the Windows / Linux form second. A handful of shortcuts use both ⌘ and ⌃ on macOS — those are called out where they appear.

These work from anywhere in the workspace. They map to the File and Edit menus.

ActionmacOSWindows / LinuxWhat it does
Apply⌘SCtrl+SCommits the current edit into the in-memory document.
Save⇧⌘SCtrl+Shift+SWrites the project to disk (OPFS storage).
Undo⌘ZCtrl+ZReverts the last committed change.
Redo⇧⌘ZCtrl+YRe-applies the last undone change.
Add record⌃⌘NCtrl+NStarts a new top-level record.

Two details worth knowing:

  • Redo differs by platform. On macOS it’s ⇧⌘Z (Shift+Command+Z); on Windows / Linux it’s Ctrl+Y. This matches each platform’s house style.
  • Add record needs ⌃⌘N on macOS (Control and Command), but only Ctrl+N elsewhere — the extra Control on macOS avoids clashing with the browser’s own ⌘N. The same command also lives behind the Add Record submenu, where you pick the record type (Person, Family, Source, Note, Multimedia, Repository, Submitter); the submenu shows the shortcut as a hint.

Many menu commands have no keyboard shortcut and are reached from the menu only. Among them: New Project, every Export variant (Export, Export As…, Export as GEDZIP, Export as ZIP), Convert version, Advanced search…, Renumber Cross-References, Sort Records, Transform Nodes…, Specification, and Build pedigree. Delete also has no global shortcut — record deletion is bound locally in the tree (see below) so it can’t fire while you’re typing.

See also: Saving and exporting · Converting GEDCOM versions · Bulk transforms · Search.

These fire when the record tree has focus. They move the focused row without touching the global history.

ActionKeyWhat it does
Move down / up / Moves focus to the next / previous visible row.
Expand / into childExpands a collapsed row; on an already-expanded row, steps into its first child.
Collapse / to parentCollapses an expanded row; otherwise steps up to the parent.
First / last rowHome / EndJumps to the first / last row in the tree.
Open or expandEnterExpands an expandable row, or selects a record to open it in the editor.
Delete recordDelete / BackspaceDeletes the focused record (only when it can be deleted — HEAD, TRLR, and group headers can’t).

Separately, session history moves between the records you’ve visited and is global:

ActionmacOSWindows / LinuxWhat it does
Back⌘←Alt+←Returns to the previously viewed record.
Forward⌘→Alt+→Steps forward again through history.

See also: The record tree · Relatives & relationships.

These fire when the editor has focus. The first three work in both editor modes; the indentation keys apply only in structured mode, where each GEDCOM level is four spaces of indent.

ActionmacOSWindows / LinuxWhat it does
Apply⌘SCtrl+SCommits the current record’s edits (same as the global Apply).
Look up tag in specF1F1Opens the spec viewer on the tag at the cursor.
Autocomplete⌃SpaceCtrl+SpaceOpens autocomplete for valid tags / values at the cursor.
New line (keep indent)EnterEnterStructured mode: starts a new line at the same GEDCOM level.
Indent / acceptTabTabStructured mode: accepts an open completion, otherwise indents one level (re-parents the node).
Outdent⇧TabShift+TabStructured mode: outdents one level.
Delete a levelBackspaceBackspaceStructured mode: in leading indentation, removes a whole level instead of one space.

On a DATE line, ⌃Space / Ctrl+Space opens the date editor popup instead of the tag autocomplete (see the next section).

Follow a reference with the modifier held:

ActionmacOSWindows / LinuxWhat it does
Jump to record-click a pointerCtrl-click a pointerNavigates to the record a @xref@ points to.
Open tag in spec-click a tagCtrl-click a tagOpens the spec viewer on that tag.

These are mouse-plus-modifier gestures, not pure keyboard shortcuts; hold the platform modifier and the pointer / tag becomes a link. See Following references.

See also: The editor · Editor modes · Autocomplete · Quick-fixes.

The date editor is a small popup form anchored to a DATE line.

ActionKeyWhat it does
Open the date editor⌃Space / Ctrl+SpaceOn a DATE line, opens the structured (or raw) date form.
Move within the formTab / ⇧TabCycles through the form’s fields and buttons (focus is trapped in the popup).
CloseEscCloses the popup, reverting to the line’s original text.

See also: The date editor · Dates & places.

These fire while the spec viewer panel has focus.

ActionKeyWhat it does
Toggle in-page search⌘F / Ctrl+FShows / hides the find box for the open spec page.
Next / previous matchEnter / ⇧EnterWith the find box focused, moves to the next / previous match.
Back / forward⌥← / ⌥→ (Alt+← / Alt+→)Walks the spec viewer’s own page history.
Close search / table of contentsEscCloses the find box, or the table of contents on narrow layouts.

See also: The spec viewer.

These fire when the pedigree canvas has focus.

ActionKeyWhat it does
Move selection Moves the selected card across the drawn frontier (expanding the tree if you step past it).
Build pedigree hereEnterRe-anchors the chart on the selected card.
Center on anchorFFlies the camera back to the anchor card.
Fit to screen0Frames the whole chart in the viewport.
Zoom in / out+ / -Zooms the camera (the unshifted = also zooms in).
Card menu⇧F10 / MenuOpens the context menu for the selected card.

See also: The pedigree view.

The validation panel supports list navigation when focused — the same pattern any focused list uses:

ActionKeyWhat it does
Next / previous issue / Walks the list of validation issues.
First / last issueHome / EndJumps to the first / last issue.

Click any issue (or focus it and select) to jump to it in the editor and inspector.

See also: Reading and fixing validation.


If a shortcut here ever seems off, the menu bar is the source of truth at your fingertips: every command that has one shows its shortcut next to the label, rendered for your platform.