Skip to content

Code Editor iOS Keyboard Shortcuts Cheat Sheet

Cheat sheet for 43 keyboard shortcuts in the Code Editor iOS code editor application. This application is only applicable to MacOS.

General Shortcuts

Action Shortcut
Show completions Esc
Insert indentation, depending on tab or space preference Tab
New document tab Cmd + N
Close tab Cmd + W
Save Cmd + S
Undo Cmd + Z
Redo Cmd + Shift + Z
Select all Cmd + A
Cut Cmd + X
Copy Cmd + C
Paste Cmd + V
Find Cmd + F
Find next Cmd + G
Find previous Cmd + Shift + G
Toggle comment Cmd + /
Indent selection Cmd + [
Outdent selection Cmd + ]
Move to previous tab Cmd + Shift + [
Move to next tab Cmd + Shift + ]
Toggle preview, editor only Cmd + 4
Clear rollback, terminal and playground only Cmd + K
Reload, preview only Cmd + R
Back, preview only Cmd + Left
Forward, preview only Cmd + Right
Select previous character Shift + Left
Select next character Shift + Right
Move to start of current line Cmd + Left
Move to end of current line Cmd + Right
Select to start of current line Cmd + Shift + Left
Select to end of current line Cmd + Shift + Right
Move to start of current word Opt + Left
Move to end of current word Opt + Right
Select to start of current word Opt + Shift + Left
Select to end of current word Opt + Shift + Right
Delete to start of current line Cmd + Del
Delete to start of current word Cmd + Opt + Del
Delete to end of current line Cmd + Del (Forward)
Delete to end of current word Cmd + Opt + Del (Forward)
Move to start of current line Ctrl + A
Select to start of current line Ctrl + Shift + A
Move to end of current line Ctrl + E
Select to end of current line Ctrl + Shift + E
Delete to end of current line Ctrl + K