Lyna
SupportBlogOpen Lyna
Get startedFeaturesIntegrationsPromptingTips & TricksChangelog

Keyboard shortcuts

Every keyboard shortcut in the Lyna editor, for the chat, panels, canvas modes, editing, zoom, layers and the code editor.

Press Shift + / (the ? key) in the editor to see every shortcut. You can also find the full list in Settings > AI > General, under Keyboard Shortcuts, with a search field.

Cmd or Ctrl

Cmd is the Command key on macOS. On Windows and Linux, use Ctrl instead. Canvas shortcuts work while the canvas has focus, not while you type in a field.

Chat

ActionShortcut
Add to AI chat (the current selection)Cmd + Shift + L
New AI ChatCmd + L
Open Chat Mode MenuCmd + .
Turn Plan mode on or off (in the composer)Shift + Tab
ActionShortcut
Toggle Left PanelCmd + /
Toggle Right PanelCmd + \
Chat FullscreenCmd + Shift + \
Toggle TerminalCmd + J
Focus ModeCmd + Shift + .
Command PaletteCmd + K
Source ControlCmd + Shift + H
Show ShortcutsShift + /

Editor modes and tools

ActionShortcut
SelectV
CodeC
PanH, or hold Space
PreviewP
CommentM
Insert DivR
Insert TextT
Edit Text (on the selected element)Enter
EscapeEsc
Switch to Design, Code or PreviewCmd + 1, Cmd + 2, Cmd + 3
Show distances between elementsHold Alt

Actions

ActionShortcut
UndoCmd + Z
RedoCmd + Shift + Z
CopyCmd + C
PasteCmd + V
CutCmd + X
DuplicateCmd + D
DeleteDelete or Backspace
Wrap (in a new container)Cmd + G
UnwrapCmd + Shift + G

Zoom and frame size

ActionShortcut
Zoom FitCmd + 0
Zoom InCmd + =
Zoom OutCmd + -
Set the selected frame to Desktop, Laptop, Tablet or PhoneCmd + Shift + 1 to 4

Layers

ActionShortcut
Move Layer UpShift + ↑
Move Layer DownShift + ↓

Code editor

These work while the code editor has focus. On macOS, Option is the Alt key.

ActionShortcut
FindCmd + F
Find and ReplaceCmd + Alt + F
Find Next MatchCmd + D
Toggle Line CommentCmd + /
Toggle Block CommentShift + Alt + A
Move Line Up or DownAlt + ↑ or Alt + ↓
Copy Line Up or DownShift + Alt + ↑ or Shift + Alt + ↓
Insert Blank LineCmd + Enter
Indent or OutdentTab or Shift + Tab
Decrease or Increase IndentCmd + [ or Cmd + ]
Select AllCmd + A
Go to Start or End of FileCmd + Home or Cmd + End
Undo or RedoCmd + Z or Cmd + Shift + Z

The shortcuts list in settings shows the exact keys for your system, including the extra ones for macOS.

Next steps