Press ? inside OpenLeaf for the same list. On Windows and Linux, read ⌘ as
Ctrl.
⌘S or ⌘↩ |
Save and compile |
⌘B |
Wrap the selection in \textbf{} |
⌘I |
Wrap the selection in \emph{} |
⌘M |
Wrap the selection in $...$ |
⌘/ |
Comment or uncomment |
⌘Space |
Autocomplete now |
⌘F |
Find in this file |
⌘G |
Find again |
⌘Z / ⌘⇧Z |
Undo, redo |
Tab |
Indent, or accept a completion |
⌘N |
New file |
⌘W |
Close tab |
F2 |
Rename the current file |
⌘B, ⌘I and ⌘M toggle: pressing the same one on an already-wrapped
selection unwraps it. With nothing selected they insert the pair and put the
cursor between the delimiters.
| Double-click | Jump to the source line that produced that spot |
⌘-click |
The same, for anyone used to it from other editors |
⌘J |
Show where the cursor is, in the PDF |
⌘-scroll |
Zoom around the pointer |
⌘+ |
Zoom in, through the preset levels |
⌘- |
Zoom out |
⌘0 |
Fit the page to the pane width |
Zoom is smooth: the gesture is applied immediately and the page re-renders sharp once you stop.
⌘1 |
Files |
⌘2 |
Outline |
⌘3 |
Document graph |
⌘4 |
References |
⌘5 |
Problems |
⌘6 |
History |
⌘7 |
Projects |
⌘8 |
Insert |
⌘\ |
Show or hide the sidebar |
⌘⌥1 |
Editor only |
⌘⌥2 |
Split |
⌘⌥3 |
Preview only |
⌘K |
Command palette |
⌘⇧P |
The same |
⌘⇧F |
Find and add a reference |
⌘, |
Settings |
? |
This list |
Esc |
Close whatever is open |
⌘K is the shortcut worth learning if you only learn one. It searches, all at
once:
Matching is fuzzy, so dg finds “Open the document graph” and insfig finds
“Insert figure”. Arrow keys move, ↩ runs, Esc closes.
| Click | Open |
| Right-click | Context menu |
| Drag onto a folder | Move it there |
F2 |
Rename |
Dragging a file onto a folder moves it, and the toast that follows offers to undo that. Open tabs follow the file, so a move never leaves a tab pointing at a path that no longer exists.
| Dropped | Result |
|---|---|
| A folder | Imported as a new project |
A single .zip |
Unpacked as a new project |
| Loose files | Added to the current project |
The overlay says which of the three is about to happen before you let go.