Перейти до вмісту
Oleaflyv0.4.3

The complete shortcut reference for macOS, Windows, and Linux, from compiling and PDF sync to Typst editing, presenting, and platform menus.

Цей контент ще не доступний вашою мовою.

Oleafly is comfortable to drive entirely from the keyboard. Press ⌘/ (Ctrl+/) anywhere outside the editor for a searchable version of this list. Inside the editor, the same key comments out lines.

macOS shortcuts are listed first; the Windows/Linux equivalent swaps ⌘ for Ctrl.

Settings → Keyboard Shortcuts. Choose Application, Editor, Code intelligence, or PDF, then find the command you need.
Settings → Keyboard Shortcuts. Choose Application, Editor, Code intelligence, or PDF, then find the command you need. Open full screenshot

Open Settings → Keyboard Shortcuts. The Application tab lists Recompile, Command palette, Search all documents, Go to PDF, Shortcut reference, Toggle terminal, Toggle browser, Toggle sidebar, and Open folder. Select the displayed keys, press the new combination, and click elsewhere to cancel recording. Reset controls restore one binding or all of them.

A custom binding must include ⌘ or Control on macOS, or Ctrl on Windows and Linux. Oleafly turns down:

  • standalone keys, and combinations another action already uses
  • keys the operating system keeps for itself: ⌘ (or Ctrl) with Q, W, S, A, C, X, V, or Space. On macOS that also covers ⌘H, ⌘M, and ⌘` (window switching).
  • characters typed with AltGr, or with Option on macOS. They would otherwise fire every time you typed that character.
  • on macOS and Linux, a terminal, browser, or Open folder shortcut on a key the app menu can’t use. Letters, numbers, and function keys work.

While you record, the current terminal, browser, Open folder, and Quit shortcuts pause, so pressing one records it instead of running it.

The Editor tab has a second set, Editor keys, listed under Editor keys you can change. Backspace leaves one of them unbound, and Shift with a letter or Space is refused because it only types text.

macOSWindows / LinuxAction
⌘KCtrl+KCommand palette
⌘⇧FCtrl+Shift+FSearch omnibar: projects, all documents, / commands
⌘↵Ctrl+EnterRecompile
⌘⇧JCtrl+Shift+JJump from the cursor to the PDF (LaTeX and Typst)
⌘/Ctrl+/Keyboard shortcuts reference (outside the editor)
Ctrl+`Ctrl+`Show or hide the terminal
Ctrl+Shift+BCtrl+Shift+B (Windows), Ctrl+Alt+B (Linux)Open or close the browser
⌘BCtrl+BShow or hide the sidebar (when the editor doesn’t have focus)
⌘⇧OCtrl+Shift+OOpen a folder as a project

The terminal and browser keys use the Control key on macOS too, not ⌘.

macOSWindows / LinuxAction
⌘FCtrl+FFind & replace
⌘ACtrl+ASelect the whole file
⌘BCtrl+BBold, in the file’s own markup
⌘ICtrl+IItalic, in the file’s own markup
⌘Z / ⌘⇧ZCtrl+Z / Ctrl+Shift+ZUndo / redo
⌘/Ctrl+/Comment or uncomment lines (% in LaTeX, // in Typst)
⌘LCtrl+LAsk AI to edit the selection (inline edit)
Ctrl+SpaceCtrl+SpaceTrigger autocomplete
//Slash insert menu in LaTeX and Typst (/figure, /table, /equation, …)
TabTabAccept suggestion, otherwise indent
Alt-dragAlt-dragRectangular (column) selection
Gutter arrowGutter arrowFold / unfold an environment, section, or Typst heading

In the find widget: Enter next match, Shift+Enter previous, Esc close.

In plain text fields, such as a project name, a search box, or the chat input, ⌘Z and ⌘⇧Z undo and redo that field’s own typing.

These work inside the source editor. Rebind them on the Editor tab in Settings → Keyboard Shortcuts. Vim and Emacs modes keep their own bindings.

macOSWindows / LinuxAction
Ctrl+UCtrl+UUppercase
Ctrl+Shift+UCtrl+Shift+ULowercase
⌘DCtrl+DDelete line
⌘⇧DCtrl+Shift+DDuplicate selection or line
Ctrl+⌥↑ / Ctrl+⌥↓Ctrl+Alt+↑ / Ctrl+Alt+↓Add cursor above / below
⌘⇧LCtrl+Shift+LGo to line
⌘/Ctrl+/Toggle comment

Title case, Select next occurrence, Indent, and Outdent ship unbound. Give them keys if you use them.

macOSWindows / LinuxAction
⌘⌥.Ctrl+Alt+.Close the innermost open environment
⌘⌥ECtrl+Alt+ESurround the selection with an environment
macOSWindows / LinuxAction
EnterEnterContinue the list with a new item
Shift+EnterShift+EnterStart a new line inside the list item
BackspaceBackspaceRemove the list marker before the cursor
Tab / Shift+TabTab / Shift+TabNest the list item deeper / move it up a level
$, then Space$, then SpacePair $ signs; Space in an empty pair makes display math
* _ ` $* _ ` $Wrap the selection in strong, emphasis, raw, or math
⇧⌥FShift+Alt+FFormat the document with typstyle
⌘SCtrl+SSave, and format first when Format on save is on

More on these in The editor.

macOSWindows / LinuxAction
F12 or ⌘-clickF12 or Ctrl-clickGo to definition (across files)
⇧F12Shift+F12Find references (opens the References panel)
F2F2Rename symbol project-wide
⌘-hoverCtrl-hoverUnderline symbols as clickable links
macOSWindows / LinuxAction
⌘-click on the PDFCtrl-click on the PDFJump to the matching source (LaTeX and Typst)
Pinch on trackpadCtrl+scrollZoom (40% to 400%)
EscEscExit fullscreen preview

While you present slides, these keys work in the audience window and the presenter view:

KeyAction
→, ↓, Page Down, Space, Enter, NNext slide
←, ↑, Page Up, Backspace, PPrevious slide
Home / EndFirst / last slide
B or .Blank the audience screen, or show it again
EscEnd the presentation

While an inline AI edit is showing its diff: Enter accepts, Esc rejects.

The Source / Split / PDF control on the toolbar switches layouts, the divider drags to resize, and clicking the active rail tab collapses the sidebar. ⌘B also shows or hides the sidebar when the editor doesn’t have focus; in the editor it means bold.

  • The Oleafly menu has Hide Oleafly (⌘H), Hide Others (⌥⌘H), and Show All.
  • The Window menu has Minimize (⌘M), Toggle Full Screen (Ctrl+⌘F), and Bring All to Front. Since these keys belong to the system, ⌘H and ⌘M can’t be assigned to Oleafly shortcuts.
  • ⌘A and Edit → Select All select the whole file in the editor. With the terminal focused, they select the terminal’s text.
  • ⌘Z and ⇧⌘Z work in text fields everywhere, including the home screen, tours, and the preview and browser windows. Edit → Undo and Edit → Redo act on the window in front, so clicking them in a preview or browser window never changes your paper.

Toggle browser defaults to Ctrl+Alt+B, because Ctrl+Shift+B makes a blockquote in the Markdown visual editor. If you had the old default, it moved to the new one. A key you picked yourself stays.

  • Release builds ignore F5 and Ctrl+R (reload), Ctrl+P (print), and the webview’s own find bar, so a stray key can’t reload or print the app. Pages in the browser window still use those keys.
  • Toggle browser stays Ctrl+Shift+B. In the Markdown visual editor, that key makes a blockquote instead.

You can type as soon as Oleafly opens, after you leave full screen, and after you switch back from another app (on Windows, with Alt+Tab or the taskbar). A new preview or browser window takes keys straight away too. There’s no need to click inside the window first.

Choose Vim or Emacs under Keybindings in Settings → Appearance → Editor, or run Enable vim mode from the ⌘K palette. Vim adds its usual set (hjkl, i, :w, dd, ciw, visual mode) alongside everything above. See The editor.

Almost everything with a shortcut also lives somewhere clickable: the editor toolbar, the right-click menu, the ⌘K command palette (fuzzy-searches every action: recompile, word count, add citation, insert figure, toggle theme, present slides, and more), and the ⌘⇧F omnibar with its / scopes (/create, /projects, /docs, /theme, /settings).

Image preview

AI answers couldn’t load

Try again, or search the documentation.