Editor shortcuts only work with the pointer over that editor and when you are not typing in a text field. On macOS, Ctrl is Cmd.
| Shortcut |
Action |
Ctrl+S |
Save the active file |
Ctrl+Shift+S |
Save all |
Ctrl+Z |
Undo (in the active tab) |
Ctrl+Y |
Redo |
Ctrl+C / Ctrl+X / Ctrl+V |
Copy / cut / paste |
Ctrl+D |
Duplicate the selection |
Delete |
Delete the selection |
| Shortcut |
Action |
Shift+F2 |
Insert normally open contact |
Shift+F3 |
Insert normally closed contact |
Shift+F7 |
Insert coil |
Shift+F8 |
Open parallel branch |
Ctrl+R |
Insert rung |
Ctrl+A |
Select all |
Alt+↑ / Alt+↓ |
Move rung up / down |
Alt+← / Alt+→ |
Collapse / expand rungs |
← / → |
Previous / next element |
↑ / ↓ |
Previous / next rung (Shift extends the selection) |
F2 / Enter |
Edit operand |
Esc |
Clear the selection |
| Shortcut / action |
Result |
| Arrow keys |
Move the selected blocks |
| Drag with right or middle button |
Pan the canvas |
| Drag with left button on empty area |
Rectangle selection |
| Double-click a free pin |
Create and wire an I/O variable |
| Right-click an input pin |
Negate / remove negation |
| Shortcut |
Action |
Shift+F2 |
Insert step |
Shift+F3 |
Add action |
Shift+F7 |
OR divergence |
Shift+F8 |
AND divergence |
Shift+F9 |
Jump |
Alt+↑ / Alt+↓ |
Move element |
↑ / ↓ |
Previous / next element |
← / → |
Switch branch |
Esc |
Clear the selection |
| Shortcut |
Action |
Ctrl+/ or Ctrl+K |
Comment / uncomment |
Ctrl+Shift+K |
Delete lines |
Alt+↑ / Alt+↓ |
Move lines |
Alt+Shift+↓ |
Duplicate lines |
Alt+Shift+F |
Format code |
Ctrl+. / Alt+Enter |
Declare the variable under the caret |
Ctrl+Shift+. |
Declare all unknown variables |
F2 |
Rename identifier |
F12 |
Go to declaration |
F8 / Shift+F8 |
Next / previous problem |