Keyboard Shortcuts

Shortcuts in Lediv act on the focused panel. On macOS, use Cmd where Windows and Linux use Ctrl.

How shortcut focus works

Most shortcuts belong to the tree panels, Pages, Components, Elements and Files. Select or focus an item first, then press the shortcut. Undo and Redo work everywhere in the editor and the dashboard.

Global shortcuts

Shortcut Action
Ctrl/Cmd + Z Undo
Ctrl/Cmd + Shift + Z or Ctrl + Y Redo
Esc Exit Preview mode or cancel active drag
Esc Clear the selection

Panel shortcuts

Pages

Shortcut Action
Ctrl/Cmd + C Copy page(s)
Ctrl/Cmd + V Paste page(s)
Delete Delete page(s)
Ctrl/Cmd + Backspace Delete page(s)

Components

Shortcut Action
Ctrl/Cmd + C Copy component(s)
Ctrl/Cmd + V Paste component(s)
Delete Delete component(s)
Ctrl/Cmd + Backspace Delete component(s)

Elements

Shortcut Action
Ctrl/Cmd + X Cut element(s)
Ctrl/Cmd + C Copy element(s)
Ctrl/Cmd + V Paste element(s)
Delete Delete element(s)
Ctrl/Cmd + Backspace Delete element(s)
Esc Cancel active drag

These shortcuts also work while the canvas has focus.

Files

Shortcut Action
Enter Rename focused file/folder
Ctrl/Cmd + X Cut file/folder
Ctrl/Cmd + C Copy file/folder
Ctrl/Cmd + V Paste file/folder
Delete Delete file/folder
Ctrl/Cmd + Backspace Delete file/folder
Esc Cancel renaming or creating a file/folder

While dragging in Elements or Files, hold Alt to copy instead of move.

Code editor

Shortcut Action
Shift + Alt + F Format the file
Ctrl/Cmd + Z Undo, for the whole project
Ctrl/Cmd + Shift + Z or Ctrl + Y Redo

Lediv Agent

Shortcut Action
Enter Send the message
Shift + Enter New line
Esc Leave the message field

Next steps