Zum Inhalt springen

Here we have listed the hotkeys available in Overleaf. For Mac users, the below commands will use the Cmd key instead of Ctrl.

This list contains shortcuts for the Source editor, still most of them also work in the Source (Legacy) editor.

Command Operation
Ctrl + F Find and replace.
Ctrl + Enter
or Ctrl + S
Compile the project.
Ctrl + Z Undo.
Ctrl + Y Redo.
Ctrl + Home Go to the first line of the current file.
Ctrl + End Go to the last line of the current file.
Ctrl + Shift + L Go to a specific line (opens a dialog).
Use Ctrl + L in the Source (Legacy) editor.
Ctrl + / Toggle commenting for selected lines. (Comment/uncomment selected text.)
Ctrl + D Delete the current line.
Ctrl + A Select all.
Tab Indent the selection.
Shift + Tab Un-indent the selection.
Ctrl + U Change the selected text to upper case.
Ctrl + Shift + U Change the selected text to lower case.
Ctrl + B Bold.
Ctrl + I Italics.
Ctrl + Space Open the autocomplete menu, inside of \cite{...} search the bibliography.
(Use Ctrl + Space also on Mac, rather than Cmd + Space)

A more comprehensive list of keyboard shortcuts can be found in this Overleaf project template.

Overleaf guides

LaTeX Basics

Mathematics

Figures and tables

References and Citations

Languages

Document structure

Formatting

Fonts

Presentations

Commands

Field specific

Class files

Advanced TeX/LaTeX