Keyboard shortcuts
Overleaf provides a number of keyboard shortcuts for common tasks. The table below lists the most common shortcuts. A more comprehensive list of keyboard shortcuts can be found in this Overleaf project template.
For Mac users, the below commands will use the Cmd key instead of Ctrl. Some keyboard shortcuts in this list may not be available on non-US keyboards or in vim/emacs modes.
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.
Last updated
Was this helpful?