Editor Shortcuts
We cannot guarantee that the all of the shortcuts are working properly since the operations may differ depending on the version of OS and browsers.
Description | Windows / Linux | Mac |
Undo | Ctrl + Z | Command + Z |
Redo | Ctrl + Y | Shift + Command + Z or Command + Y |
Cut | Ctrl + X | Command + X |
Copy | Ctrl + C | Command + C |
Paste | Ctrl + V | Command + V |
Format Document | Shift + Alt + F | Shift + Alt + F |
Toggle Line Comment | Ctrl + / | Command + / |
Search | Ctrl + F | Command + F |
Replace | Shift + Ctrl + F | Command + Alt + F |
Increase indent | Tab or Ctrl + ] | Tab or Command + ] |
Decrease indent | Shift + Tab or Ctrl + [ | Shift + Tab or Command + ] |
Comment out | Ctrl + / | Command + / |
Comment in | Ctrl + / | Command + / |
Increase font size | Ctrl + . | Command + . |
Decrease font size | Ctrl + , | Command + , |
Move a line down | Alt + Down | Option + Down |
Move a line up | Alt + Up | Option + Up |
Select all | Ctrl + A | Command + A |
Select downward | Shift + Down | Shift + Down |
Select right | Shift + Right | Shift + Right |
Select left | Shift + Left | Shift + Left |
Select upward | Shift + Up | Shift + Up |
Select to the end | Alt + Shift + Right | Alt + Shift + Right |
Select to the start | Alt + Shift + Left | Alt + Shift + Left |
Align text right | Ctrl + Shift + Right | Option + Right |
Align text left | Ctrl + Shift + Left | Option + Left |
Add multi-cursor above | Ctrl + Alt + Up | Command + Alt + Up |
Add multi-cursor below | Ctrl + Alt + Down | Command + Alt + Down |
Add multi-cursor above | Ctrl + Alt + Shift + Up | Command + Alt + Shift + Up |
Move multi-cursor from current line to the line below | Ctrl + Alt + Shift + Down | Command + Alt + Shift + Down |
Last modified 5mo ago