Skip to content

Keyboard shortcuts

Oleafly is comfortable to drive entirely from the keyboard. Press ⌘/ (Ctrl+/) inside the app anytime for a searchable version of this list.

The searchable in-app keyboard shortcuts reference

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

Open Settings → Keyboard Shortcuts to change Recompile, Command palette, Search all documents, Go to PDF, or Shortcut reference. Select the displayed keys, press the new combination, and click elsewhere to cancel recording. Reset controls restore one binding or all application bindings. Custom bindings must include ⌘ on macOS or Ctrl on Windows and Linux. Oleafly rejects standalone keys and combinations already used by the editor.

macOS Windows / Linux Action
⌘K Ctrl+K Command palette
⌘⇧F Ctrl+Shift+F Search omnibar: projects, all documents, / commands
⌘↵ Ctrl+Enter Recompile
⌘⇧J Ctrl+Shift+J Jump to PDF (SyncTeX forward)
⌘/ Ctrl+/ Keyboard shortcuts reference
macOS Windows / Linux Action
⌘F Ctrl+F Find & replace
⌘B Ctrl+B Bold (\textbf{})
⌘I Ctrl+I Italic (\textit{})
⌘Z / ⌘⇧Z Ctrl+Z / Ctrl+Shift+Z Undo / redo
⌘L Ctrl+L Ask AI to edit the selection (inline edit)
Ctrl+Space Ctrl+Space Trigger autocomplete
/ / Slash insert menu (/figure, /table, /section, …)
Tab Tab Accept suggestion, otherwise indent
Alt-drag Alt-drag Rectangular (column) selection
Gutter arrow Gutter arrow Fold / unfold an environment or section

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

macOS Windows / Linux Action
F12 or ⌘-click F12 or Ctrl-click Go to definition (across files)
⇧F12 Shift+F12 Find references (opens the References panel)
F2 F2 Rename symbol project-wide
⌘-hover Ctrl-hover Underline symbols as clickable links
macOS Windows / Linux Action
⌘-click on the PDF Ctrl-click on the PDF Jump to source (SyncTeX inverse)
Pinch on trackpad Ctrl+scroll Zoom (40% to 400%)
Esc Esc Exit fullscreen preview

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

The view is controlled from the toolbar rather than shortcuts: the Source / Split / PDF segmented control switches layouts, the divider drags to resize, and clicking the active rail tab collapses the sidebar.

Toggle Vim mode in Settings, General (or via the ⌘K palette) for the full Vim keybinding 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, and more), and the ⌘⇧F omnibar with its / scopes (/create, /projects, /docs, /theme, /settings).