Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Overleaf Keyboard Shortcuts à (from previous page)

Windows 
Updated March 12, 2020 Mac  Description a
gnu/Linux 

Some keyboard shortcuts in this list may not be available on non-US keyboards or in Rich Ctrl + ] ctrl + ]
Indent more
Text/vim/emacs modes. For example, some input methods on the Mac may use (equiva- Tab (at line start) Tab (at line start)
lent of Alt ) for accented characters input instead. Ctrl + U ctrl + U To uppercase
Mac users may also want to refer to this list of common editor keyboard shortcuts on Mac:
Ctrl + + U ctrl + + U To lowercase
https://support.apple.com/en-us/HT201236#text
Ctrl + B + B Bold text (\textbf)
Windows 
Mac  Description a Ctrl + I + I Italicise text (\textit)
gnu/Linux 
Ctrl + X + X Cut selected text
Show list of shortcuts. If a short-
cut isn’t available on your key- Ctrl + C C
F1 F1 + Copy selected text
board or input method, you might
trigger it from this list instead. Ctrl + V + V Paste copied text
Ctrl + . ctrl + .
Ctrl + + D + + D Duplicate selected text
Ctrl + S + S
Trigger compilation
Ctrl + Enter + Enter Alt + + + + Copy lines up
(vim) :w (vim) :w
Alt + + + + Copy lines down
Alt + E Next error/warning
Alt + + Move lines up
Alt + + E Previous error/warning
Alt + + Move lines down
Ctrl + / + /
Toggle % comment on selected
Ctrl + Alt + S Sort selected lines
line(s)
Ctrl + + 7 + + 7 some non-US keyboard layouts Ctrl + Z + Z Undo
F2 F2 Toggle fold current environment Ctrl + + Z + + Z
Redo
Ctrl + Y + Y
Alt + 0 + + 0 Fold other environments

Alt + 0 0
Go to nearest matching
+ + + + Unfold all
Ctrl + P ctrl + P start/close parenthesis, brace or
Ctrl + D + D Delete current line bracket (){}[]

Open auto-complete. Select to nearest matching close


Ctrl + + P ctrl + + P parenthesis, brace or bracket
Ctrl + Space ctrl + Space Use Tab to select candi- (){}[]
date, and Enter to insert.
Expand selection to current near-
Ctrl + [ ctrl + [ Ctrl + + M ctrl + + M est matching start/close paren-
Indent less
+ Tab + Tab thesis, brace or bracket (){}[]

Alt + ctrl + A Go to line start


(continued next page) á

(continued next page) á

1 2
à (from previous page)

Windows 
Mac  Description a
gnu/Linux 

Alt + ctrl + E Go to line end

Ctrl + Home + Go to document start

Ctrl + End + Go to document end

Ctrl + L + L Go to line number. . .


Ctrl + F , Ctrl + H + F
Find and replace
(emacs) + Alt + 5 + + 5

Ctrl + K + G

(or just Enter again (or just Enter again Find next
with search dialog open) with search dialog open)
Ctrl + + K + + G Find previous

Ctrl + A + A Select all

Ctrl + click + click Multiple cursors à la Sublime Text

Ctrl + Alt + ctrl + + Add cursor above (cumulative)

Ctrl + Alt + + ctrl + + +


Add cursor above (remove previ-
ously added)

Ctrl + Alt + ctrl + + Add cursor below (cumulative)

Ctrl + Alt + + ctrl + + +


Add cursor below (remove previ-
ously added)

Alt +
Rectangular selection à la Sub-
drag + drag
lime Text

Ctrl + J + J Toggle review panel

Ctrl + + A + + A Toggle track changes

Ctrl + + C + + C Add comment in review panel

You might also like