Skip to content

Shortcuts en

AminiamEva edited this page Nov 29, 2026 · 3 revisions

Shortcuts (English)

中文 · English

These are the default bindings from apps/web/config.yaml; every one can be changed in Configuration.

  • mod is Ctrl on Windows/Linux and Cmd on macOS.
  • Two keys separated by a space form a chord: mod+e c means press Ctrl/Cmd+E, release, then press C. The default chord timeout is 1500 ms.
  • Bindings are matched per scope; the same key can mean different things in different scopes. Scope priority is roughly: table → math → paragraph → editor → source → global.

Global

Action Default keys
Save / Save as mod+s / mod+shift+s
Open document mod+o
New project / Open project mod+shift+n / mod+shift+o
Toggle project sidebar mod+p
Document / Source / Split mode mod+e 1 / 2 / 3
Settings mod+,
Toggle ribbon mod+alt+r
Formatting marks mod+8
Zoom in / out / reset mod+= / mod+- / mod+0

Editor (prose)

Action Default keys
Undo / redo mod+z / mod+y or mod+shift+z
Bold mod+b
Code block mod+alt+c
Bullet list / ordered list mod+shift+8 / mod+shift+7
Paragraph / headings 1–3 mod+alt+0 / 1 / 2 / 3
Hard line break mod+enter
Insert display math mod+f
Insert inline math mod+shift+f
Insert numbered equation mod+alt+f
Insert cases mod+e shift+c
Edit current formula mod+e e
Toggle formula box mod+e b
Align left / right / centre mod+e l / r / i
Find and replace mod+e f
Leave environment / all environments / current file mod+j / mod+shift+j / mod+alt+j
Toggle context markers (headings/list numbers) mod+e t
Literal backtick alt+`
Superscript / subscript mod+6 / mod+shift+-
Insert table mod+shift+6
Open TikZ editor mod+shift+t
Type $ $

Paragraph

Action Default keys
Toggle indent mod+i

Table

Action Default keys
Add row / add column mod+e shift+r / mod+e shift+c
Delete row / delete column mod+e x / mod+e y

Math (inside a formula)

Action Default keys
Superscript / subscript mod+6 / mod+-
Fraction mod+f
Square root / n-th root mod+2 / mod+shift+2
Integral mod+i
Double / triple integral mod+shift+i / mod+alt+shift+i
Contour / contour-volume integral alt+i / alt+shift+i
Sum / product mod+shift+s / mod+shift+p
Matrix mod+shift+m
pmatrix / bmatrix / Bmatrix mod+m / mod+alt+m / mod+alt+shift+m
Add row / add column mod+e r / mod+e c
Toggle display style mod+e t
Left / right delimiter mod+l / mod+r
Command palette \
Next / previous placeholder slot tab / shift+tab
Undo / redo mod+z / mod+y or mod+shift+z
Leave environment / formula / file mod+j / mod+shift+j / mod+alt+j
Literal fence mod+e shift+p
New line inside formula enter
Delete current structure backspace / delete

Source mode

Action Default keys
Find / replace mod+f / mod+h
Undo / redo mod+z / mod+y or mod+shift+z
Indent / outdent tab / shift+tab
Source zoom / reset mod+= / mod+- / mod+0
Autocomplete ctrl+space

Notes

  • Keys the browser reserves on macOS (e.g. Cmd+T) cannot reach the page; mod+e t serves as the alias for toggling context markers.
  • In chords, backslash may be written backslash and comma as comma.
  • Existing YAML overrides keep working; new defaults never overwrite user-saved customisations.
  • Shortcut priority (Edge/Chrome, web): a status-bar button requests fullscreen plus Keyboard Lock so the browser hands existing shortcuts to Lineae first. Requires a secure connection and browser support; while active the button becomes "Exit shortcut priority". Bind a toggle via keybindings.global.shortcutPriority (unbound by default). A successful API call does not guarantee every system shortcut is delivered — macOS-reserved keys still need verification on a real Mac.

Clone this wiki locally